Thanks for the reply Mark, I am fairly new to this :) Here is a snippet of what I have set up so far (httpd.conf):
DocumentRoot "D:/Program Files/Apache Group/Apache/realdocs" <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory "D:/Program Files/Apache Group/Apache/realdocs"> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all </Directory> AccessFileName apache.htaccess Alias /sandbox "P:/Projects/Sandboxes/storyboard" <Directory "P:/Projects/Sandboxes/storyboard"> AllowOverride All </Directory> Within P:\Projects\Sandboxes\storyboard I have my apache.htaccess file: <IfModule mod_php4.c> php_value include_path = ".;P:/Projects/Sandboxes/Stratos/asa_php" </IfModule> When I access the URL http://localhost/sandbox though I receive the message "Internal Server Error" I imagine it's something simple but as I have not done this before 'simple' equates to unknown :) Any ideas??? Neil Mark Roedel wrote: > > -----Original Message----- > > From: Neil Freeman [mailto:[EMAIL PROTECTED]] > > Sent: Monday, February 04, 2002 4:45 AM > > To: PHP General > > Subject: [PHP] How do I get htaccess files to take effect? > > > > > > This is my first time attempting to use htaccess files. I am > > running Apache 1.3.20 with PHP v4.0.6 installed as a module. > > Within Apache's httpd.conf file I have the following value set: > > > > [snip] > > > > What I am attempting to do is alter PHP's include path 'on > > the fly' rather than specifying an overall value within php.ini. > > The problem I have though is that the 'include_path' value does > > not appear to be picked up. Am I using htaccess files correctly > > or do I need to alter some other values within Apache's > > httpd.conf file?? > > What you've got so far looks fine. > > The other thing that you'll need, though, is an appropriate > "AllowOverride" value in your httpd.conf for the server or directories > in question. > > http://httpd.apache.org/docs/mod/core.html#allowoverride > > --- > Mark Roedel | "Blessed is he who has learned to laugh > Systems Programmer | at himself, for he shall never cease > LeTourneau University | to be entertained." > Longview, Texas, USA | -- John Powell > > *************************************************************** > This message was virus checked with: SAVI 3.53 Jan 2002 > last updated 30th January 2002 > *************************************************************** -- -------------------------------- Email: [EMAIL PROTECTED] [EMAIL PROTECTED] -------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php