On 12/13/05, Bruce Johnson <[EMAIL PROTECTED]> wrote:
>
> Does the .htaccess file have the right permissions? It needs to be
> world-readable and executable.

Where did you get that information?  I've run several web servers as
part of my job (Apache, Netscape, etc), and have never given
executable permissions to a .htaccess file.  I just did a Google
search which confirms what I thought was the case, that the only
permissions requirement for .htaccess is that it is readable by the
userid that owns the web server process (username "www" by default in
Mac OSX).  Most texts will say to make it world-readable to keep it
simple.

> do 'ls -l .htaccess' in the directory it's in.
>
> It should look like:
>
> -rwxr-xr-x <blah blah> .htaccess
>

-rw-r--r-- <blah blah> .htaccess

> If it doesn't, for example the permissions look like:
>
> -rwxr--r--
>

-rw-------

> do this command in the directory:
>
> sudo chmod o+r .htaccess
>
> You'll be asked for your admin password, and then it'll work.
>
> As a remote possibility, you might have to edit your apache
> configuration file /etc/httpd/httpd.conf
>
> But I doubt it...I didn't have to do that on my system. I'll play
> with it later today, there's some stuff I'd like to protect on my
> site, and I should have gotten around to it a long time ago.
>

If you're not the primary admin of the server (ie: you don't have
access to httpd.conf), you'll need to check with the admins to find
out if .htaccess files are even enabled on the server.

Kurt

--
G-List is sponsored by <http://lowendmac.com/> and...

 Small Dog Electronics    http://www.smalldog.com | Refurbished Drives |
 -- We have Apple Refurbished Monitors in stock!  |  & CDRWs on Sale!  |

      Support Low End Mac <http://lowendmac.com/lists/support.html>

G-List list info:       <http://lowendmac.com/lists/g-list.shtml>
  --> AOL users, remove "mailto:";
Send list messages to:  <mailto:g-list@mail.maclaunch.com>
To unsubscribe, email:  <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/g-list%40mail.maclaunch.com/>

iPod Accessories for Less
at 1-800-iPOD.COM
Fast Delivery, Low Price, Good Deal
www.1800ipod.com

Reply via email to