Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] .htaccess


Trevor Tregoweth said:
> Hi All
>
> Thanks for the information provided...........it was a great help.
>
> one other question, what do i need to setup in the httpd.conf file so i
> can use .htaccess

Trevor, I just had a similar tread ine the last few days, under:
[SLUG] Apache .htaccess, is this co...
pls check the archives, I think your anwser might be there;

to summarize it:
-----------
If I get what you are asking, yes, but as Jamie mentioned, it's often
worthwhile not wandering too far from your distros defaults :)

If you have

<Directory />
        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
 </Directory>

then each virtual host will need to have
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
in the relevant directory sections for the virtual host. Without these
parameters, the config from the / directory will apply.

Does that make sense? If I'm not explaining it well, there is a pretty good
explanation of how Directory works at
http://httpd.apache.org/docs-2.0/mod/core.html.en#directory

Seb
-----------

as for your q on database, check out places like hotscripts for literally
thousand of scripts, PHP or Perl, that do that

-- 
Voytek