By anthonyplanet on
I've just downloaded my drupal site.
I can view the home page and the content seems to be read from the db. However i can't get to
http://localhost:81/admin or http://localhost:81/aboutus
I have enabled "mod_rewrite"
i can view content such as "?q=node/266"
Comments
Once you've enabled
Once you've enabled mod_rewrite, you have to restart your webserver.
There should be a .htaccess in your drupal installation folder. You also need to enabled CLean URLs under Administer > Site Configuration > Clean URLs
IT'S GOOD TO BE HERE » Blog
I am stumped too
I have the exact same issue. Mod_rewrite has been enabled for a year or so, so I'm not sure what the problem is. I also have several other Drupal installations running from the same local server, all with clean URL's enabled, and they're fine. Definitely something fishy with the download process.
I recently switched to CS4. I did the download via Dreamweaver, and noticed a bunch of "locks" on files. They are all unlocked now, and permissions seem normal (same configuration as files in the other local Drupal installations, as far as I can tell), so I wonder if Dreamweaver is adding files somewhere that are disrupting things. Very frustrating.
Using a MAMP stack locally.
Solved!
I don't know what super-weird karmic force ensures that minutes after I post a problem, the OBVIOUS solution hits me in the side of the head, no matter how far off my problem solving directions were.... and of course, there it is in howdytom's post.
;)
There should be a .htaccess in your drupal installation folder.
Solution: Look for the .htaccess file that is supposed to live in your root Drupal folder. If it's not there, go get the one corresponding to your Drupal version and put it back.
I'm using 6.14 still. And for some reason, the .htaccess file was missing from my big download. I unpacked it from the drupal 6.14 package and put it back in the root folder, and everything's dandy again.
:)
Now to figure out what happened to the original!
i've installed the htaccess but still now luck
- I uncommented "RewriteBase /" from the htaccess.
- I have enabled "mod_rewrite"
but i can get to http://localhost:81/?q=admin/
but not
http://localhost:81/?q=admin/content
basically i can't login to edit the niceurl
aha!
from previous monkeying about i added an alias in my httpf.conf that was causing the grief. So basically if your having issue that can't be resolve by approaches above. Look into what could be overriding these settings.
I am glad to help you out...
I am glad to help you out... basically you do not have to modify the httpd.conf in your MAMP installation.
I guess the main issue was that you didn't see .htaccess due to the fact that hidden files aren't visible under OS X. You should activate "show hidden files" in Dreamweaver... Good luck
IT'S GOOD TO BE HERE » Blog