Bug 722677

Summary: Permalink Settings not working out of the box
Product: [Fedora] Fedora EPEL Reporter: Patrick C. F. Ernzer <pcfe>
Component: wordpressAssignee: Remi Collet <fedora>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: el5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-06 10:04:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Patrick C. F. Ernzer 2011-07-16 11:31:51 UTC
Description of problem:
out of the box, wordpress-3.1.4-1.el5 can not change the permalink settings.

Version-Release number of selected component (if applicable):
wordpress-3.1.4-1.el5

How reproducible:
did not try

Steps to Reproduce:
1. install wordpress on CentOS 5, it's dependencies and mysql-server
2. nail down mysql with /usr/bin/mysql_secure_installation
3. follow /usr/share/doc/wordpress-3.1.4/README.fedora
4. change 'Common settings' from 'Default' to 'Month and name' at .../wp-admin/options-permalink.php
 
Actual results:
'You should update your .htaccess now.' message

Expected results:
User changes setting in Web UI and the setting becomes effective without additional editing


Additional info:
My web foo is not strong enough to decide whether .htaccess or a change to /etc/httpd/conf.d/wordpress.conf is better. For now I have changed the latter to

# cat /etc/httpd/conf.d/wordpress.conf 
Alias /wordpress /usr/share/wordpress

<Directory /usr/share/wordpress>
  AllowOverride Options
  <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]
  </IfModule>
</Directory>

Comment 1 Fedora End Of Life 2017-04-06 10:04:46 UTC
Fedora EPEL 5 changed to end-of-life (EOL) status on 2017-03-31. Fedora EPEL 5
is no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora
or Fedora EPEL, please feel free to reopen this bug against that version. If
you are unable to reopen this bug, please file a new report against the current
release. If you experience problems, please add a comment to this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.