|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
I have a apache with this code in my httpd.conf:
NameVirtualHost 200.27.7.190 <VirtualHost 200.27.7.190> ServerAdmin URL DocumentRoot /home/httpd/html/byp ServerName URL #ErrorLog logs/192.168.0.0-error_log #TransferLog logs/192.168.0.0-access_log #ScriptAlias /cgi-bin/ /home/web000/public_html/cgi-bin/ </VirtualHost> But when i put URL the server response the index page the other domain (default domain URL) y try another versions of this code but donīt work, my english itīs basic but i read english very good |
|
#2
|
|||
|
|||
|
vhost
to configure your vhost, you have to use the command line -S. iof you are on windows, right click on the shortcut to apache and select properties. take a look at the target. it should say:
"C:\Program Files\Apache Group\Apache\Apache.exe" -w -f "C:\Program Files\Apache Group\Apache\conf\httpd.conf" -d "C:\Program Files\Apache Group\Apache\" change the -d to -S hope this helps |
|
#3
|
|||
|
|||
|
I have linux mandrake:
Linux Mandrake release 6.0 (Venus) Kernel 2.2.9-19mdk on an i686 and Apache/1.3.9 your command line itīs good to me? |
|
#4
|
|||
|
|||
|
hi
oops, i got your private message. sorry, i jusyt didn't know what you were talking about. hmm, i really don't know as i run on windows.
|
|
#5
|
|||
|
|||
|
Right below the line NameVirtualHost 200.27.7.190, you must put your default <VirtualHost 200.27.7.190> block before any other vhosts. www.bilzypap.com is not your default, so move it lower.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Vhost work? not to me |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|