server side

New to mod_rewrite? This is a good place to start.

Postby Guest » Wed Oct 31, 2001 4:14 pm

k, i run a server and have:

LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so

in my httpd.conf

so my question is for VirtualHosts, what do i have to have in there to allow them to access mod_rewrite?
Guest
 

Postby analog » Fri Nov 02, 2001 8:02 pm

It is my experience that if it is enabled for the server, all VirtualHosts can use it.. now, usually this means you need to implement the code via .htaccess. There are other settings in httpd.conf that control the .htaccess file, and how much power it has.

If you are having problems with VirtualHosts not being able to use .htaccess, I would start with checking the following option in the VirtualHosts's <Directory xxx> directive:

Code: Select all
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
    AllowOverride All


Have fun

----------------------
Ryan LeBlanc
hosting@analoghosting.com
-----------
http://www.netgarage.net
http://www.analoghosting.com
-= We'll Fix Ya' Up! =-

"Whoever would give up freedom for security deserves neither and will lose both"
--Benjamin Franklin


<font size=-1>[ This Message was edited by: analog on 2001-11-02 23:03 ]</font>
analog
 
Posts: 3
Joined: Sun Oct 14, 2001 4:00 pm


Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 23 guests

cron