Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] RewriteBase, ścieżka do katalogu
dresik
post
Post #1





Grupa: Zarejestrowani
Postów: 57
Pomógł: 0
Dołączył: 12.06.2007
Skąd: Gorlice

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


Witam,
Mam problem ze ścieżką do katalogu w RewriteBase

Normalnie jak mam domenę, lub subdomenę to uzywam
  1. RewriteBase /


A jeśli mam taki link:
http://domena.pl/~user/

to jak mam ustawić ścieżkę

próbowałem już tak:
  1. RewriteBase /~user/
  2. RewriteBase /~user/public_html/
  3. RewriteBase /user/
  4. RewriteBase /user/public_html/
  5. RewriteBase /home/user/public_html/
  6. RewriteBase /home/~user/public_html/


no ale to nie działa

cały kod wygląda tak:
  1. Options +FollowSymLinks
  2. RewriteEngine On
  3. RewriteBase /user/public_html
  4. RewriteRule ^home$ index.php [L]


Proszę o ewentualne podpowiedzi co mam źle ustawione

Ten post edytował dresik 17.05.2010, 13:37:59
Go to the top of the page
+Quote Post

Posty w temacie
- dresik   [PHP] RewriteBase   17.05.2010, 13:28:48


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

 



RSS Aktualny czas: 22.08.2025 - 02:15