Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

.HTACCESS
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic
Author Message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Tue Sep 02, 2003 1:20 pm    Post subject: .HTACCESS Reply with quote

I can never get the GALLERY setup wizard to recognise .htaccess. Any ideas why not, cause I would like to use mod_rewrite.

I have tried amending httpd.conf - no joy

----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version: 1.4
Apache version: 1
PHP version (don't just say PHP 4, please): 4.3.2
Graphics Toolkit: ImageMagick
Operating system: OSX (Darwin/unix)
Web browser/version (if applicable):
The CONFIG lines from the top of your block file(s):
_________________
"The only difference between me and a madman is that I'm not mad."
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
AdBot
   Post subject: .HTACCESS  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Tue Sep 02, 2003 1:26 pm    Post subject: Re: .HTACCESS Reply with quote

here is the first page of my config:


i never, ever create a blank htaccess file when installing/upgrading apache.
it might be a server config deal. do you run your own, or are you hosted?
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Tue Sep 02, 2003 1:31 pm    Post subject: Reply with quote

Own server. I also don't create or use .htaccess (I have to delete them) with gallery - however i do use .htaccess and .htpasswd - so the server does obey the files.
_________________
"The only difference between me and a madman is that I'm not mad."
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Tue Sep 02, 2003 1:37 pm    Post subject: Reply with quote

hmmm..who is the owner of the htaccess file? what are it's permissions?

i've never gotten it to use "friendly" URLS when inside of Nuke (since nuke needs all of it's module.php crap in the address...the Google tap from NukeCops takes care of that, though), however, when in standalone, it can show short URLs just fine.

do you have mod_rewrite installed/loaded in your apache.conf file?

also, check for this in your commonapache.conf file:
Code: › #
# AccessFileName: The name of the file to look for in each directory
# for access control information.
#
AccessFileName .htaccess


make sure it's not commented out
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Tue Sep 02, 2003 1:52 pm    Post subject: Reply with quote

Apache:
LoadModule rewrite_module libexec/httpd/mod_rewrite.so
AddModule mod_rewrite.c

Owner of .htaccess is also owner of space

Not sure about commonapache.conf - haven't got that on my OS X server!
Sad
_________________
"The only difference between me and a madman is that I'm not mad."
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Tue Sep 02, 2003 1:56 pm    Post subject: Reply with quote

hmm...most apache configurations have 2 conf files, one is httpd/apache.conf and the other is common/commonapache/apachecommon/commonhttpd/httpdcommon.conf (or something along those lines). just do this from your apache config directory:

grep -HR AccessFileName *

and see what file(s) it kicks back.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Tue Sep 02, 2003 3:07 pm    Post subject: Reply with quote

That doesn't work for me:

Help file (grep --help) contains this:

Usage: grep [OPTION]... PATTERN [FILE] ...
Search for PATTERN in each FILE or standard input.
Example: grep -i 'hello world' menu.h main.c

Regexp selection and interpretation:
-E, --extended-regexp PATTERN is an extended regular expression
-F, --fixed-strings PATTERN is a set of newline-separated strings
-G, --basic-regexp PATTERN is a basic regular expression
-e, --regexp=PATTERN use PATTERN as a regular expression
-f, --file=FILE obtain PATTERN from FILE
-i, --ignore-case ignore case distinctions
-w, --word-regexp force PATTERN to match only whole words
-x, --line-regexp force PATTERN to match only whole lines
-z, --null-data a data line ends in 0 byte, not newline

Miscellaneous:
-s, --no-messages suppress error messages
-v, --invert-match select non-matching lines
-V, --version print version information and exit
--help display this help and exit
--mmap use memory-mapped input if possible

Output control:
-b, --byte-offset print the byte offset with output lines
-n, --line-number print line number with output lines
-H, --with-filename print the filename for each match
-h, --no-filename suppress the prefixing filename on output
-q, --quiet, --silent suppress all normal output
--binary-files=TYPE assume that binary files are TYPE
TYPE is 'binary', 'text', or 'without-match'.
-a, --text equivalent to --binary-files=text
-I equivalent to --binary-files=without-match
-d, --directories=ACTION how to handle directories
ACTION is 'read', 'recurse', or 'skip'.
-r, --recursive equivalent to --directories=recurse.
-L, --files-without-match only print FILE names containing no match
-l, --files-with-matches only print FILE names containing matches
-c, --count only print a count of matching lines per FILE
-Z, --null print 0 byte after FILE name

Context control:
-B, --before-context=NUM print NUM lines of leading context
-A, --after-context=NUM print NUM lines of trailing context
-C, --context[=NUM] print NUM (default 2) lines of output context
unless overridden by -A or -B
-NUM same as --context=NUM
-U, --binary do not strip CR characters at EOL (MSDOS)
-u, --unix-byte-offsets report offsets as if CRs were not there (MSDOS)

`egrep' means `grep -E'. `fgrep' means `grep -F'.
With no FILE, or when FILE is -, read standard input. If less than
two FILEs given, assume -h. Exit status is 0 if match, 1 if no match,
and 2 if trouble.
_________________
"The only difference between me and a madman is that I'm not mad."
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Tue Sep 02, 2003 3:10 pm    Post subject: Reply with quote

Code: › grep -Hr AccessFileName *


we just want it to recurse the apache configuration directory (the r switch)and print out the file names (the H switch)
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Tue Sep 02, 2003 3:19 pm    Post subject: Reply with quote

Yep that worked - however:

Binary file Desktop/webserver stuff/Apache-2.0.40-Jaguar.tar matches
Desktop/webserver stuff/Apache2/Changes: *) The AccessFileName directive can now take more than one filename.
grep: Library/Preferences/com.apple.NetInfoManager.plist: Permission denied

Top fine refers to a downloaded ver of Apache 2 sitting on the server desktop
_________________
"The only difference between me and a madman is that I'm not mad."
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Wed Sep 03, 2003 7:57 am    Post subject: Reply with quote

hmm...from your HEAD request (abbreviated):
Code: › HTTP/1.1 200 OK
Date: Wed, 03 Sep 2003 12:54:56 GMT
Server: Apache/1.3.27 (Unix)  (Red-Hat/Linux) Chili!Soft-ASP/3.6.2 mod_ssl/2.8.14 OpenSSL/0.9.6b PHP/4.1.2 FrontPage/5.0.2.2
X-Powered-By: PHP/4.1.2


this doesn't quite match your description in your first post, especially the PHP version number and the OS/version. is Darwin based on RedHat (i'm not a Mac user, so please forgive me if that's a dumb question)?
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Wed Sep 03, 2003 8:15 am    Post subject: Reply with quote

Laughing Laughing I can only guess you've done that on http://ww.esp3.net

That sits on a PRODUCTION server - I'm having problems with my DEVELOPMENT server which is OSX! Very Happy

Try the URL I gave you during the development of this sites theme. I will PM if you can't remember - let me know.
_________________
"The only difference between me and a madman is that I'm not mad."
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Wed Sep 03, 2003 8:19 am    Post subject: Reply with quote

can't get to it right now..i'm guessing that your DNS entry is being updated:
Code: › C:\Documents and Settings\dm.COML>ping tonicmedia.dyndns.org

Pinging tonicmedia.dyndns.org [192.168.1.99] with 32 bytes of data:


that's an internal, Class-C IP address, not a publically routable one. I'll give it a few.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Wed Sep 03, 2003 8:28 am    Post subject: Reply with quote

Use this one instead:

http://80.0.216.138/

I use a AUTO dns updater - which I guess has just screwed my details! Sad
_________________
"The only difference between me and a madman is that I'm not mad."
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6284
Location: Washington Township, NJ, USA

PostPosted: Wed Sep 03, 2003 8:30 am    Post subject: Reply with quote

got it...did you compile it from source or grab the binary from the apache site?
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Wed Sep 03, 2003 8:46 am    Post subject: Reply with quote

As shipped from APPLE. Although I have attempted to install Apache 2 (failed miserably). Other modules, PHP, MySQL, etc from http://www.entropy.ch/software/macosx/welcome.html
_________________
"The only difference between me and a madman is that I'm not mad."
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic
Goto page 1, 2, 3  Next

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

6th year online! 2003-2009
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia