Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> jak podpiac katalog poza htdocs
spiro
post
Post #1





Grupa: Zarejestrowani
Postów: 30
Pomógł: 0
Dołączył: 16.11.2004

Ostrzeżenie: (10%)
X----


jak zrobic zeby zwykly katalog np c://asdf po napisaniu http://localhost/asdf byl otwierany tak jakby znajdowal sie w apache2/htdocs/asdf

cos obilo mi sie o uszy ze w httpd.conf nalezy dodac jakies aliasy tylko nie wiem gdzie i jak...

mam nadzieje ze jasno to opisalem (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif)
Go to the top of the page
+Quote Post
crash
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 2 196
Pomógł: 2
Dołączył: 17.01.2004
Skąd: Sosnowiec

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


httpd.conf:
Kod
Alias /asdf/ "C:/asdf/"
Go to the top of the page
+Quote Post
spiro
post
Post #3





Grupa: Zarejestrowani
Postów: 30
Pomógł: 0
Dołączył: 16.11.2004

Ostrzeżenie: (10%)
X----


Cytat(crash @ 2005-07-29 00:02:24)
httpd.conf:
Kod
Alias /asdf/ "C:/asdf/"

Not Found

The requested URL /asdf was not found on this server.

nie dziala...a w ktorym miejscu mam wstawic ten kod do httpd.conf??
moze to od tego zalezy
Go to the top of the page
+Quote Post
crash
post
Post #4





Grupa: Przyjaciele php.pl
Postów: 2 196
Pomógł: 2
Dołączył: 17.01.2004
Skąd: Sosnowiec

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


No pomyśl troche (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif) Czy wg. Ciebie /asdf i /asdf/ to to samo?
Go to the top of the page
+Quote Post
spiro
post
Post #5





Grupa: Zarejestrowani
Postów: 30
Pomógł: 0
Dołączył: 16.11.2004

Ostrzeżenie: (10%)
X----


Cytat(crash @ 2005-07-29 10:01:03)
No pomyśl troche (IMG:http://forum.php.pl/style_emoticons/default/tongue.gif) Czy wg. Ciebie /asdf i /asdf/ to to samo?

bez jaj ale tak tez jest to samo The requested URL /asdf/ was not found on this server. (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg)
Go to the top of the page
+Quote Post
crash
post
Post #6





Grupa: Przyjaciele php.pl
Postów: 2 196
Pomógł: 2
Dołączył: 17.01.2004
Skąd: Sosnowiec

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


Wykonaj wszystko zgodnie z http://httpd.apache.org/docs/2.0/mod/mod_alias.html#alias i musi działać...
Go to the top of the page
+Quote Post
spiro
post
Post #7





Grupa: Zarejestrowani
Postów: 30
Pomógł: 0
Dołączył: 16.11.2004

Ostrzeżenie: (10%)
X----


a mozesz crash mi jeszcze powiedziec co mam zrobic w przypadku gdy:
Forbidden

You don't have permission to access /asdf/ on this server.

pracuje pod win xp
Go to the top of the page
+Quote Post
aleksander
post
Post #8





Grupa: Przyjaciele php.pl
Postów: 742
Pomógł: 0
Dołączył: 14.12.2003
Skąd: Gdańsk, Trójmiasto

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


w folderze nie ma pliku index.php/htm/html ?
Go to the top of the page
+Quote Post
spiro
post
Post #9





Grupa: Zarejestrowani
Postów: 30
Pomógł: 0
Dołączył: 16.11.2004

Ostrzeżenie: (10%)
X----


dodalem i juz jest ok (IMG:http://forum.php.pl/style_emoticons/default/biggrin.gif)

dzieki wszystkim ktorzy pomogli (IMG:http://forum.php.pl/style_emoticons/default/guitar.gif)
Go to the top of the page
+Quote Post

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: 19.09.2025 - 23:23