Jump to content

Recommended Posts

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!?

Link to comment
https://forums.phpfreaks.com/topic/79020-solved-site-not-working/
Share on other sites

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

 

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.