spitster Posted May 7, 2007 Share Posted May 7, 2007 Hi, I've been learning to setup a server. I'm using Redhat fc4, apache 2.0.54 and php5. I've been able to get several virtual host websites up and going so far. I've been struggling to get doc_root and user_dir set in the virtual hosts. I've learned the hardway I can't set them via an htaccess file. I attempted to add them into the vhost definitions but I still can't get the local value set. I'm trying to use /home/user*/public_html as the doc_root and user_dir local values for each of the virtual hosts. Have I missed something in the php.ini file that should have told it to use the php statements in the virtual host definitions in httpd.conf? The global value is setup for the main server of /var/www/html but I wanted to set up each of the virtual hosts with their own configurations. I can use the htaccess file to modify other php settings so I did get something right, just not this one... I could sure use some help and a lesson here... Thanks! Den Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.