![]() |
|
|
google unix.com
|
|||||||
| Forum | Registrera | Forum Regler | Länkar | Album | FAQ | Medlemslista | Kalender | Söka | Dagens inlägg | Markera forum som lästa |
| UNIX for Dummies Frågor & Svar Om du inte är säker på var att skriva en UNIX eller Linux fråga efter det här. Alla UNIX-och Linux-nybörjare välkomna! |
Mer UNIX och Linux Forum Ämnen Du kan hitta Helpful
|
||||
| Tråd | Thread Starter | Forum | Svar | Senaste Inlägg |
| S-118: Apache httpd Sårbarheter | iBot | Säkerhetsbulletiner (RSS) | 0 | 01-15-2008 08:10 |
| Python & httpd.conf inställningar | thumper | UNIX for Dummies Frågor & Svar | 0 | 12-12-2007 11:43 |
| Apache 2 httpd.conf tom | sspirito | Ubuntu | 2 | 08-06-2007 12:09 |
| httpd.conf - stumped | Cameron | IP Nätverk | 2 | 04-25-2002 06:31 |
| defaults httpd.conf | macdonto | IP Nätverk | 5 | 09-25-2001 06:21 |
|
|
LinkBack | Thread Tools | Sök i denna tråd | Rate Thread | Visningslägen |
|
||||
|
Apache httpd.conf <VirtualHost> fråga
Jag har just konfigurerat httpd.conf om en ny Redhat 9 installera. Nedan är mina tillägg till httpd.conf. Allt fungerar bra förutom att när du skriver http://spetnik.d2g.com i min webbläsare, jag skickade till "Standard fånga alla" site. Alla ledtrådar? Kod:
NameVirtualHost *:80
#Default catch all
<VirtualHost *:80>
ServerAdmin aspetner@spetnik.com
DocumentRoot /var/www/html/
ErrorDocument 404 /errors/notfound.html
</VirtualHost>
#spetnik.d2g.com
<VirtualHost *:80>
ServerName spetnik.d2g.com
ServerAlias spetnik.d2g.com www.spetnik.d2g.com
ServerAdmin aspetner@spetnik.com
DocumentRoot /var/www/spetnik/html/
ErrorDocument 404 /errors/notfound.html
TransferLog logs/spetnik
<Directory /var/www/spetnik/html>
AllowOverride All
</Directory>
</VirtualHost>
#e-feedback.org
<VirtualHost *:80>
ServerName e-feedback.org
ServerAlias e-feedback.org www.e-feedback.org
ServerAdmin e-feedback@spetnik.com
DocumentRoot /var/www/e-feedback/html
ErrorDocument 404 /errors/notfound.html
TransferLog logs/e-feedback
<Directory /var/www/e-feedback/html>
AllowOverride All
</Directory>
</VirtualHost>
Tack, Aaron |