Amazon ec2 mod rewrite wordpress not working

Posted: May 18, 2014 in web

For my case mod rewrite was loaded but it not working. Figured it wasa the httpd.config that was set to defualt.

for to /etc/httpd/conf/httpd.conf and make sure you have the ff:

**************************************
AllowOverride Not Enabled
Your server may not have the AllowOverride directive enabled. If the AllowOverride directive is set to None in your Apache httpd.config file, then .htaccess files are completely ignored. In this case, the server will not even attempt to read .htaccess files in the filesystem. When this directive is set to All, then any directive which has the .htaccess Context is allowed in .htaccess files. Example of enabled AllowOverride directive in httpd.config:

Options FollowSymLinks
AllowOverride All

You may also have to enable the AllowOverride directive in your DocumentRoot:

# … other directives…
AllowOverride All

******************************************

source: http://codex.wordpress.org/Using_Permalinks

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s