Re: Virtual Host problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Edwin,

Again, google.com is your friend. I can't stress this enough.

If you simply go to google.com and type in:
"windows apache no listening sockets available"
or try
"windows apache could not bind to address 0.0.0.0:80"

And look at the top results, you will most likely find an answer. Did you try this before writing to us? Research, again, is your best friend and how you will learn. I can not stress. this. enough.

It looks like you have another service running on port 80. Do you have another application, daemon or server running on port 80? Can you please look into this. Perhaps go to:
START > RUN
Type in services.msc
And look for IIS or PWS and see if either are STARTED and/or running automatically (if so, right click and turn them OFF and also go to PROPERTIES and set them to MANUAL startup) or any other web server/services.

Please make sure these are shut down if you are planning on using Apache as your primary web server. You can not have two web servers listening on port 80 at the same time. It's just not possible.

Sincerely,

Craig Huffstetler

On Sat, Mar 22, 2008 at 3:24 PM, Edwin <ddogej@xxxxxxxxxx> wrote:
Ok out with the old and in with the new. Now That I have read through that and I think I understood most of it. Thank you Craig
I did modify my file structure and as well as modified my code to include quotation marks. But the redirect to the new file structure isn't working
I know I'm still doing something wrong.

The error this time was
only one usage of each socket address (protocol/network address/port) is normally permitted. :make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down





--- On Sat 03/22, j k < jonnykent@xxxxxxxxx > wrote:

From: j k [mailto: jonnykent@xxxxxxxxx]
To: users@xxxxxxxxxxxxxxxx, ddogej@xxxxxxxxxx
Date: Sat, 22 Mar 2008 12:14:20 -0800
Subject: Re: Virtual Host problems



On Sat, Mar 22, 2008 at 9:46 AM, Edwin <ddogej@xxxxxxxxxx> wrote:
People whom know more than me please inform me of what I'm doing wrong




DocumentRoot C:/users/edwin j mcleod/documents/Apache Software Foundation/Apache2.2/htdocs
ServerName www.Example.com
# Other directives here



DocumentRoot C:/users/edwin j mcleod/documents/Apache Software Foundation/Apache2.2/htdocs2
ServerName www.Example.com
# Other directives here





Syntax error on line 165 of c:/Users/Edwin J Mcleod/Documents/Apache Software Foundation/APache2.2/conf/httpd.conf:
Documentroot takes one argument, Root directory of the document tree





There's th eproblem:
'Documentroot takes one argument, Root directory of the document tree'

Try quotes around that:
DocumentRoot "C:/users/edwin j mcleod/documents/Apache Software"


Neither windows nor unix/linux likes a space in a file name.
Good luck



Join Excite! - http://www.excite.com
The most personalized portal on the Web!


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux