![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 5 Pomógł: 0 Dołączył: 4.10.2002 Ostrzeżenie: (0%) ![]() ![]() |
Mogę sobie zrobić na moim komputerze virtualhost'y ?
Mam Apache'a 2 i w http.conf ServerName localhost. Czy moge zrobić np. <virtualhost costam.locathost> Próbowałem i mi wywala Apache'a. |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 602 Pomógł: 0 Dołączył: -- Skąd: W - WA -> GRO Ostrzeżenie: (0%) ![]() ![]() |
Albo jeszcze lepiej:
Kod ServerName localhost
Listen 80 NameVirtualHost 127.0.0.1 <VirtualHost 127.0.0.1> ServerAdmin admin@localhost DocumentRoot c:/www/localhost ServerName localhost ErrorLog /logs/error_log </VirtualHost> <VirtualHost 127.0.0.1> ServerAdmin admin@localhost DocumentRoot c:/www/costam ServerName costam.localhost ErrorLog /logs/error_log </VirtualHost> Tylko pamietaj o zrobieniu wpisow do pliku hosts (IMG:http://forum.php.pl/style_emoticons/default/biggrin.gif) |
|
|
![]() ![]() |
![]() |
Aktualny czas: 3.10.2025 - 13:25 |