try both rewritebase / and /var/www/vhosts/valulisting/valulisting.com/httpdocs/ both 404 not found
try both rewrite base / and rewritebase /var/www/
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- chinholee3
- Solved:
- 2012-04-08
- Last query:
- 2012-04-08
- Last reply:
- 2012-04-08
ehcpdeveloper (ehcpdeveloper) said : | #1 |
I think, you should use / as rewrite base.
because, /var/www...... is a dir that is seen by apache, not web browser.
if you get 404 not found, then, look at error logs of webserver.
what you see as error; so, you will see what the rewrite rule
redirects the user to.
chinholee3 (chinholee3) said : | #2 |
in wamp server install on window. Document root is c:/wamp/
ehcpdeveloper (ehcpdeveloper) said : | #3 |
where is your catalog dir now ?
as rewrite base, try just /
or
try /catalog
because, the php application sees
/var/www/
by the way, do you have to use a rewrite base ?
if still no solution, send your server info to <email address hidden>
chinholee3 (chinholee3) said : | #4 |
SOLVE MY STUPIDITY I FORGET TO PUT HTACCESS AS .HTACCESS. IT WAS READING THE FILE NOT AS TEXT. THANK U FOR ALL UR HELP EHCP. UR REPLY WAS FAST AND PROMPT. THANK U AGAIN