NameVirtualHost *:80 has no Virtual?
I just installed Fedora 11, and followed the tutorial inside howtoforge.com about the perfect web server with ISPConfig 3.
After everything has been installed, I can't access the web panel via the webpage, even with https://localhost:8080, or https://ip:8080 it just won't connect. So I'm suspecting something wrong with my httpd.conf configuration file...which when I tried to start it...it gave me this error Code:
Starting httpd: [Mon Jun 29 01:30:24 2009] [warn] NameVirtualHost 127.0.0.1:0 has no VirtualHosts Here's my httpd.conf, as in attachment. http://www.savefile.com/files/2140277 Thanks a lot! |
In my experience, if you are using virtual hosts you will need an entry similar to the following:
Code:
<VirtualHost *:80> |
Thanks for the reply.
I've copied over the entry, but when I tried to start httpd, it says document root does not exist. Do I need to create those directory manually or copies the existing over? |
DocumentRoot is the root directory of your web site
it's the directory that you will place all files that will be accessible through your site(including index.html) |
Thanks for the reply. I haven't created any pages yet but is there any way to temporary creates the DocumentRoot of it? Or should I copy over some files from other place? Thanks.
|
The default in F11 is /var/www/html: http://forums.fedoraforum.org/showthread.php?p=1216638
|
Anyway, thanks for all the help guys, apparently there's indeed some misconfiguration within my httpd.conf...after a search and patiently edit and test...finally I solved it...but there's one other stuff came out tho...
Mods can you please close this thread? Thanks :) |
All times are GMT -5. The time now is 11:22 PM. |