I have (had) a 4.7 beta 5 test site up and running with XAMPP on an XP box. All was going well until I enabled Clean URL's and then I started getting Object not found errors. I then read http://drupal.org/node/43545 and followed the instructions on that page by moving the the mod_rewrite line in httpd.conf as instructed. I also uncommented the Rewrite base in .htaccess and edited it to read /drupal475 which is the name of folder where I installed drupal. The drupal475 folder is in xampp/htdocs.
I then stopped apache and restarted it. Now I'm still getting the "Object not found" error. I assume I did something wrong even though the instructions seemed easy enough to follow "once I read them." Is this a caching problem or a PHP5 problem or something else?
Roger
Comments
un-edit the .htaccess
The rewrite rule in .htaccess should work out of the box without any editing. Revert it back to the default and try it again.
Sean Robertson
www.webolutionary.com/freedom
webolutionary@webolutionary.com
Sean Robertson | @seanr1978 on twitter
seanr@webolutionary.com
that didn't fix it
I'm still getting "object not found" 404 errors. Am open to other suggestions for getting clean URL's working.
Roger
Any other ideas?
Since my original post was a ways down the list, I thought I'd ask about this problem with clean URL's again in hopes that someone knows what causes it and how to fix it. Seems like I read somewhere that posting a new comment was the preferred way to raise an unresolved issue again.
Roger
works on my install.
Line 118, uncomment rewrite_module
Line 223 AllowOverride All
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
No line 223 or AllowOverride All
I don't have anywhere close to 223 lines in my htaccess file and there isn't any entry for AllowOverrideAll
Clean URL's work fine on my hosted site without modifying .htaccess, which makes me suspect the problem lies in a different file like php.ini or httpd.conf, but I don't know what to look for.
Roger
I was refering to the
I was refering to the httpd.conf file. Looks like I left that sentence out.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
That fixed it!
Steven, thanks for the clarification. Should the instruction about AllowOverride All be added to the handbook page?
http://drupal.org/node/43545
Roger
Just added it. The sad part
Just added it. The sad part is, I use IIS :)
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Apache.conf?
Perhaps it's a simple version problem, but the page talks about Clean URLs on XAMPP (1.5.1) with PHP 4. The line where
AllowOverride Allwould go would either behttpd.conf(line 225, this affects all sites) or in per directory inextra/httpd-xampp.conf.--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.