How to delete my avatar?
Some virtual hosts serve as expected, one doesn't...
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Apache HTTP Server > Some virtual hosts serve as expected, one doesn't... 11 July 2005 18:55:22

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Some virtual hosts serve as expected, one doesn't...

Stan Peters 11 July 2005 18:55:22
 Apache 2.0.53 running in console on WinXP Pro SP2 locally for test purposes.

httpd.conf Under NameVirtualHost I have 4 existing VirtualHosts that are
served correctly.

I want to add a new VirtualHost, I'm using the same code for each
virtualhost:
<VirtualHost *:8080>
ServerName vhostname
DocumentRoot /Apache2/htdocs/vho­stname
DirectoryIndex index.php
</VirtualHost>

Output of apache -S:
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:8080 is a NameVirtualHost
default server newvhost (C:/Apache2/conf/ht­tpd.conf:964)
port 8080 namevhost newvhost (C:/Apache2/conf/ht­tpd.conf:964)
port 8080 namevhost vhost1 (C:/Apache2/conf/ht­tpd.conf:971)
port 8080 namevhost vhost2 (C:/Apache2/conf/ht­tpd.conf:978)
port 8080 namevhost vhost3 (C:/Apache2/conf/ht­tpd.conf:985)
port 8080 namevhost vhost4 (C:/Apache2/conf/ht­tpd.conf:992)
Syntax OK

So it appears to be correctly parsing httpd.conf

Whenever I attempt to browse newvhost it fails. I've tried moving newvhost's
position in the list with no effect. I can change an existing (working)
vhost's DocumentRoot to newvhost's dir and it will serve those pages so the
html/php page is not in error. I'm not doing any rewrites or .htaccess
tricks. No other options in VirtualHosts area. Rebooted too many times...

single access.log lists access' for existing vhosts but not newvhost, not
even errors.

Any ideas or suggestions?


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Joost de Heer 11 July 2005 18:55:22 permanent link ]
 
Whenever I attempt to browse newvhost it fails.

Fails in what way? Can you resolve the DNS name properly on the machine
that does the connection? Do you see anything in the logging?

Joost


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Apache HTTP Server > Some virtual hosts serve as expected, one doesn't... 11 July 2005 18:55:22

see also:
Enabling & disabling image buttons
which DOM level to use?
JavaScript Error Calling Webservice
пройди тесты:
see also:
How to burn DRM encrypted iTunes 8…
How to convert protected WMA to MP3 for…
DIY: create free ringtones for iPhone…

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .