![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 5 Pomógł: 0 Dołączył: 2.01.2013 Ostrzeżenie: (0%) ![]() ![]() |
Witam
Od niedawna otrzymałem w spadku administrację serwerawmi WWW a nie miałem z tym styczności od czasów uczelni i mam chyba mały problem. Chciełbym żeby po wpisaniu w przeglądarkę adresów: http://ip_servera/apX http://ip_servera/apY apach odpowiednio pobierał index.php z katalogów: u01/apX/index.php u01/apY/index.php obecnie w pliliku hhtpd.conf wpisałem coś takiego : Listen 80 Listen 8080 NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "/u01/apX/" Alias /apX "/u01/apX/" <Directory "/u01/apX/"> allow from all order allow,deny AllowOverride All Allow from All </Directory> DirectoryIndex index.html index.htm index.php </VirtualHost> # <VirtualHost *:80> DocumentRoot "/u01/apY/" Alias /testlink "/u01/apY/" <Directory "/u01/apY/"> allow from all order allow,deny </Directory> DirectoryIndex index.html index.htm index.php </VirtualHost> I niestety nie działa to wszystko poprawnie pierwszy adres wyświetla się OK, natomiast z drugim jest problem (The requested URL /testlink was not found on this server). W error.log ma coś takiego "File does not exist: /u01/apX/apY " nie wiem dlaczego szuka index.php dla drugiego przypdku w złym katalogu chociaż podałem mu dobrą ścieżkę w ustawieniach virtualhost (IMG:style_emoticons/default/questionmark.gif) Coś pominołem ? |
|
|
![]() ![]() |
![]() |
Aktualny czas: 30.09.2025 - 03:47 |