![]() |
Hei og Velkommen fra USA til UNIX og Linux Forums! Takk for besøket og Delta i vårt globale samfunn.
|
|
google unix.com
|
|||||||
| Forums | Registrer | Forum Rules | Lenker | Album | FAQ | Medlemsliste | Kalender | Søke | Dagens innlegg | Marker forumene som lest |
| UNIX for Dummies Spørsmål og svar Hvis du er usikker på hvor du skal legge inn en UNIX-eller Linux-spørsmålet, legger den her. Alle UNIX og Linux newbies velkommen! |
Mer UNIX og Linux Forum Emner Du kan finne nyttig
|
||||
| Tråd | Tråd startet | Forum | Svar | Siste innlegg |
| S-118: Apache httpd Sikkerhetsproblemer | iBot | Sikkerhet veiledninger (RSS) | 0 | 01-15-2008 08:10 |
| Python & httpd.conf innstillinger | thumper | UNIX for Dummies Spørsmål og svar | 0 | 12-12-2007 11:43 |
| Apache 2 httpd.conf tom | sspirito | Ubuntu | 2 | 08-06-2007 11:09 |
| httpd.conf - stumped | Cameron | IP Networking | 2 | 04-25-2002 05:31 |
| defaults httpd.conf | macdonto | IP Networking | 5 | 09-25-2001 05:21 |
|
|
LinkBack | Thread Tools | Søk i denne tråden | Rate Thread | Visningsmoduser |
|
||||
|
Apache httpd.conf <VirtualHost> problemet
Jeg har nettopp konfigurert httpd.conf på en ny Redhat 9 installere. Nedenfor har jeg lagt til httpd.conf. Alt virker fint, bortsett fra at når du skriver http://spetnik.d2g.com i min nettleser, jeg er sendt til "Standard catch all" site. Noen hint?
Code:
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>
Aaron |
| Hugseliste |
| Thread Tools | Søk i denne tråden |
| Visningsmoduser | Ranger denne tråden |
|
|