Reputation: 1563
hi i am getting a strange error in my drupal website "Page not Found" when i click on Login page.I have no idea why this error is comes. please let me know what may be the result.(this is error is only on two pages My Account Page and login page ,rest other pages are working fine).
Upvotes: 0
Views: 11598
Reputation:
At the beginning, I'd like to clarify that I use localhost to support Drupal.
racl101 actually give the proper answer. Here I present my specific solution based on what racl101 gives us:
Go to .htaccess
sudo nano .htaccess
Find RewriteBase
in .htaccess
(as my drupal url is localhost/~MyName/drupal/
)
I uncomment RewriteBase
and change it to RewriteBase /~MyName/drupal/
Then it works. Good luck!
Upvotes: 0
Reputation: 4100
I had a similar problem where would say
index.php was not found on this server
and it turned out to be my .htaccess file was not configure to serve drupal from a subdirectory. Only the webroot.
This thread helped:
http://drupal.org/node/1585672?mode=2&sort=2
Basically I just had to edit RewriteBase on my .htaccess file to contain the value of my subdirectory.
So for example, if I'm serving drupal from here:
Then I have to change the RewriteBase value in my .htaccess
file to:
RewriteBase /drupal
Upvotes: 1
Reputation: 7713
Things to try:
unless you have some kind of advanced setup (memcache, authcache, varnish, that kind of stuff) one of these should do the trick.
Upvotes: 2