I'm using a shared linux hosting and have created subdomain which points to /hrms folder inside the root folder.
Now, I've a mod rewrite condition for this subdomain only which goes like this:
RewriteEngine On
RewriteBase /hrms/
RewriteCond %{REQUEST_URI} !^/static/images
RewriteCond %{REQUEST_URI} !^/static/js
RewriteCond %{REQUEST_URI} !^/static/css
RewriteRule ^/(.*)$ /index.php?request=$1 [PT,QSA,L]
But I'm getting this error when I try to login:
Not Found The requested URL /login was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Also, I tried to check if .htaccess is parsed and when I added some junk, the server gave 500 Internal error, so .htaccess is also parsed and is not a problem.
I already searched for same error in google and stackoverflow, but didn't found the mistake I'm doing.
Please help! Thanks...
Atul Yadav. atulmy.com