Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> virtualhost
mlody
post
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.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
FiDO
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 1 717
Pomógł: 0
Dołączył: 12.06.2002
Skąd: Wolsztyn..... Studia: Zielona Góra

Ostrzeżenie: (0%)
-----


Kod
ServerName localhost

Listen 80



NameVirtualHost 127.0.0.1

<VirtualHost localhost>

    ServerAdmin admin@localhost

    DocumentRoot c:/localhost

    ServerName localhost

    ErrorLog /logs/error_log

</VirtualHost>



<VirtualHost localhost>

    ServerAdmin admin@localhost

    DocumentRoot c:/localhost/costam

    ServerName costam.localhost

    ErrorLog /logs/error_log

</VirtualHost>

Sprobuj tak ^^^
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 3.10.2025 - 06:48