Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old November 14th, 2004, 09:58 AM
nagli nagli is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 1 nagli User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Cool Apache 2.0 / W2K / Virtual Host /PHP

I have an issue with setting up virtual hosts on W2K running Appache 2.0.
When I try to access the virtual host domain I am getting a file not found, but only on php script pages. If I upload a HTML page it shows fine.
Here is the funny thing, I can access these page correctly when I use the localhost access on the machine itself. If I type localhost/orbit_scan/phpinfo.php
it comes up fine. If I do this from the we <virtualhost>.com I am getting the 404 page.
Another intresting case, I set the virtualname as the main server (no virtual host directves) and when I access the server then with the virtual name it works and I do get the
phpinfo page. This makes me believe, that the issue is not with any access rights in the W2K setup.
Does anybody has an idea?

Here are my Virtual host directives, the main server(default) is set to localhost.

NameVirtualHost 68.xxx.xxx.xxx:80
<VirtualHost 68.xxx.xxx.xxx>
ServerName www.orbit-logistic.com

ServerAlias orbit-logistic.com
ServerAdmin webmaster@orbit-logsitic.com
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/orbit_home/"
UseCanonicalName off

<Directory "C:/Program Files/Apache Group/Apache2/htdocs/orbit_home/>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ErrorLog logs/error-orbit-logistic
TransferLog logs/access-orbit-logistic
</VirtualHost>
<VirtualHost 68.xxx.xxx.xxx>
ServerName xxx.orbit-logistic.com

ServerAlias xxx.orbit-logistic.com
ServerAdmin webmaster@orbit-logsitic.com
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/orbit_scan/"
UseCanonicalName off

Options Indexes Includes FollowSymLinks
<Directory "C:/Program Files/Apache Group/Apache2/htdocs/orbit_scan/>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>

ErrorLog logs/error-xxx-orbit-logistic
TransferLog logs/transfer-xxx-orbit-logistic
</VirtualHost>

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Apache 2.0 / W2K / Virtual Host /PHP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT