WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-14-2004, 06:54 PM
WebProWorld Veteran
 

Join Date: May 2004
Location: Not here..
Posts: 627
pedstersplanet RepRank 0
Default Apache questions?

Can we ask Apache questions here?
If we can't, excuse the following...

I have Apache 2.x.x on a Win 2k machine, with 3 domains (virtual hosts) pointing to one I.P.
When I just enter the I.P in the browser, it goes to the first virtualhost domain. Now, I would like to point this I.P, to say "C:\webserver\", so it just reads a basic plain html file. Also, this will allow me to point to a directory (that my domains point to) just by entering it appended the directory to the I.P, eg. http://255.255.255.255/pedster/ , http://255.255.255.255/pedster1/ , http://255.255.255.255/pedster2/ .
Anyone assist me with this or point me to a forum that can. I hope I've explained clearly.

Thanks.
__________________
Left WPW to do better things So long
Reply With Quote
  #2 (permalink)  
Old 06-16-2004, 07:08 PM
WebProWorld Pro
 

Join Date: May 2004
Location: USA
Posts: 101
morpheus.100 RepRank 0
Default

Use sub-domains under shell Pete. Go to the php or zend site for more info and tutorials.
Reply With Quote
  #3 (permalink)  
Old 06-17-2004, 01:12 AM
WebProWorld Veteran
 

Join Date: Apr 2004
Posts: 453
HardCoded RepRank 0
Default

It's not clear. Why do you want to do this?

But I think what you want is
Code:
NameVirtualHost *
<VirtualHost *>
DocumentRoot C:\webserver\
.
.
</VirtualHost>
as the first vhost entry

http://httpd.apache.org/docs-2.0/vhosts/name-based.html
Quote:
If you would like to have a special configuration for requests that do not match any particular virtual host, simply put that configuration in a <VirtualHost> container and list it first in the configuration file.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0