#1938 closed defect (bug) (fixed)
permalinks broken under apache 1.33
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 1.6 |
| Component: | General | Keywords: | |
| Focuses: | Cc: |
Description
Running apache 1.33 (mod_rewrite is installed) with a fresh install of revision 3195 using the default configuration, no plugins, and default theme:
The index and permalink pages display correctly.
As soon as I change the permalink structure to something else (like 'Date and name based' - /%year%/%monthnum%/%day%/%postname%/), the main index page as well as any other permalink page will deliver the generic 404 error page.
I did verify that the .htaccess file is getting written to. The contents of
that freshly-created file is:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /test/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /test/index.php
</IfModule>
# END WordPress
In addition, I attempted to modify the .htaccess to a configuration that I
understand to work better with apache 1.33:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /test/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /test/index.php/$1
</IfModule>
# END WordPress
... and the behavior did not change. This style of .htaccess is what I currently use in my live wordpress installation (an earlier revision) with no issues. Just to clarify: mod_rewrite is installed and working correctly for other things.
I have the same issue on a test installation of WP 2.0 B2. The hosted site is using Apache 1.3.33 and PHP V5.0.4.
Other htaccess redirects (that worked on a previous installation of WP) are broken once WP 2.0 B2 is installed. Instead of redirecting, the page loads with the the current selected them and post body data as the body (no titles, comments links, etc...).