I am using htaccess to redirect url on a live server. My htaccess file are working well on localhost but giving problem on live server.
It shows an error like “/home/a1pro/public_html/euterpedia.com/a1/show.php not found on server”.
What I guessed form the above error message is that “a1pro” should be “~a1pro” as my site url is http://64.34.170.31/~a1pro/euterpedia.com/.
Then I echo $_SERVER['SCRIPT_FILENAME'] variable it displayed like
/home/a1pro/public_html/euterpedia.com/artist_list/index.php
But I think it should display /home/~a1pro/public_html/euterpedia.com/artist_list/index.php as my site url is http://64.34.170.31/~a1pro/euterpedia.com/
Htaccess redirection problem
Moderator: General Moderators
-
sunil_23413
- Forum Newbie
- Posts: 10
- Joined: Thu Mar 12, 2009 5:43 am