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 [email protected] DocumentRoot "C:\PATH\WWW" ServerName www.agmmtech.com </VirtualHost> Can anyone help me!? Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/ 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? Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399886 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? Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399892 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> Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399895 Share on other sites More sharing options...
MMasterson Posted November 27, 2007 Author Share Posted November 27, 2007 Sorry bud, still dossent work... Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399903 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? Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399907 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 Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399910 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 [email protected] 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 Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399918 Share on other sites More sharing options...
MMasterson Posted November 27, 2007 Author Share Posted November 27, 2007 Yes Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399926 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 Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399930 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... Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399938 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? Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399939 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. Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399940 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. Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399942 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? Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399943 Share on other sites More sharing options...
MMasterson Posted November 27, 2007 Author Share Posted November 27, 2007 sorry for my internet slang.. Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399944 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 Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399945 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? Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399946 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! Link to comment https://forums.phpfreaks.com/topic/79020-solved-site-not-working/#findComment-399947 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.