[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: POSSIBLY SOLVED - IMP set-up, .htaccess file --> magic_quotes_gpc ERROR



Thank you folks, WE HAVE A WINNER! (almost :-)


>From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>

>This resulted in the browser returning an "Internal Server Error" message.
>I then checked /var/log/httpd/error by doing:
>tail -10 /var/log/htttpd/error

same type of messages in the log file.
I should have checked there.

>Back to the problem...I decided to look at access.conf
>(/etc/httpd/conf/access.conf) and discovered that there was no <Directory>
>container for /home/sites/home (or several other sites).  I do not know why
>that was, but I added one for /home/sites/home, restarted Apache
>(/etc/rc.d/init.d/httpd restart) and the php_flag directive was accepted and ?.

You are correct that I did not have a <Directory /home/sites/home>  section.
However, I did have two sections:

<Directory /home/sites/>
<Directory /home/sites/*/>

Now, when I added <Directory /home/sites/home> between these and restarted Apache, it did not help.  Still errors.

When I replaced:
<Directory /home/sites/*/>
Options -FollowSymLinks +SymLinksIfOwnerMatch
</Directory>

with:
<Directory /home/sites/*/>
AllowOverride All
Options -FollowSymLinks +SymLinksIfOwnerMatch
</Directory>

it works!


Questions:

1) 
Why did:
 
<Directory /home/sites/*/>
AllowOverride AuthConfig Indexes Limit
Options -FollowSymLinks +SymLinksIfOwnerMatch
</Directory>

not work?  I wouldhave thought this was a ?AuthConfig? option?

2) Is <Directory /home/sites/*/> inherently less safe that: <Directory /home/sites/home/> ?

3) Precdence, can one have both and depending which is higher, ect.?

4) Good explaination of what the 
AllowOverride AuthConfig Indexes Limit
Options -FollowSymLinks +SymLinksIfOwnerMatch
Lines are allowing my clients to actually do!


Many thanks everyone!
Tim




------------------------------------------------------------
--== Sent via Deja.com ==--
http://www.deja.com/