MMasterson Posted November 27, 2007 Share Posted November 27, 2007 I am running an apache server which dossent seem to like me to much. My website http://www.AGMMTech.Com is not up but yet our apache server is running... Here is the VHOST <VirtualHost *:80> ServerAdmin Admin@AGMMTech.com DocumentRoot "C:\PATH\WWW" ServerName www.agmmtech.com </VirtualHost> Can anyone help me!? Quote Link to comment Share on other sites More sharing options...
todding01 Posted November 27, 2007 Share Posted November 27, 2007 Do you have an "index.html" file in the root? Quote Link to comment Share on other sites More sharing options...
MMasterson Posted November 27, 2007 Author Share Posted November 27, 2007 I have a index.php... does that count? Quote Link to comment Share on other sites More sharing options...
todding01 Posted November 27, 2007 Share Posted November 27, 2007 Only if your httpd.conf has the php extention enabled with the html extension. Should be something like this for the php page to work. <IfModule dir_module> DirectoryIndex index.html index.php </IfModule> Quote Link to comment Share on other sites More sharing options...
MMasterson Posted November 27, 2007 Author Share Posted November 27, 2007 Sorry bud, still dossent work... Quote Link to comment Share on other sites More sharing options...
todding01 Posted November 27, 2007 Share Posted November 27, 2007 I know this is a simple question; but, did you restart apache? Quote Link to comment Share on other sites More sharing options...
MMasterson Posted November 27, 2007 Author Share Posted November 27, 2007 Ya, I turned it off then on... If this helps I am running Win XP and its XAMPP Quote Link to comment Share on other sites More sharing options...
todding01 Posted November 27, 2007 Share Posted November 27, 2007 Are you using virtual hosts for a reason? Are there multiple domains running on the same machine? If so then I usually follow these steps to get it going. Change this: # Virtual hosts #Include conf/extra/httpd-vhosts.conf to this: # Virtual hosts Include conf/extra/httpd-vhosts.conf in the httpd.conf. Then udpate the httpd-vhosts.conf file in the extra folder to this <VirtualHost *:80> ServerName www.agmmtech.com ServerAdmin Admin@AGMMTech.com DocumentRoot "C:/PATH/WWW" </VirtualHost> Notice the forward slashes. Sometimes windows is picky about that; sometimes its not. post your config files and I will take a look at them Quote Link to comment Share on other sites More sharing options...
MMasterson Posted November 27, 2007 Author Share Posted November 27, 2007 Yes Quote Link to comment Share on other sites More sharing options...
todding01 Posted November 27, 2007 Share Posted November 27, 2007 Okay... we (you) better go ahead and modify the last post to delete all that code before a moderator catches us ... Add another piece to the httpd.conf like this <Directory "C:/PATH/WWW"> Order allow,deny Allow from all </Directory> then you should be good to go... Apache will not serve the extra needed path unless we tell it to... It will deny all by default Quote Link to comment Share on other sites More sharing options...
MMasterson Posted November 27, 2007 Author Share Posted November 27, 2007 im so sorry to say but nope still gives me a blank page... Quote Link to comment Share on other sites More sharing options...
MMasterson Posted November 27, 2007 Author Share Posted November 27, 2007 dont i need to like chomd or sumthing? Quote Link to comment Share on other sites More sharing options...
todding01 Posted November 27, 2007 Share Posted November 27, 2007 I can get to it... It gives me a notice now instead of the apache error page. Quote Link to comment Share on other sites More sharing options...
todding01 Posted November 27, 2007 Share Posted November 27, 2007 you could but on localhost and windows it is not really necessary... connect with an ftp client and chmod to 777 to absolutely assure the folder is accessable. Quote Link to comment Share on other sites More sharing options...
MMasterson Posted November 27, 2007 Author Share Posted November 27, 2007 OMG! RELE! THATS THE PAGE! How come I cant get to it? Do I have to edit my Host file in windows? Quote Link to comment Share on other sites More sharing options...
MMasterson Posted November 27, 2007 Author Share Posted November 27, 2007 sorry for my internet slang.. Quote Link to comment Share on other sites More sharing options...
todding01 Posted November 27, 2007 Share Posted November 27, 2007 usually just closing your browser and reopening helps. windows is so helpful that way Quote Link to comment Share on other sites More sharing options...
MMasterson Posted November 27, 2007 Author Share Posted November 27, 2007 no... Can you take a screen shot or tell me what the notice says? Quote Link to comment Share on other sites More sharing options...
MMasterson Posted November 27, 2007 Author Share Posted November 27, 2007 Nvm, I got it! Thanks a lot! 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.