How do I edit .htaccess to allow both rails and wordpress requests?
Posted
by jakefuentes
on Stack Overflow
See other posts from Stack Overflow
or by jakefuentes
Published on 2010-04-26T05:12:10Z
Indexed on
2010/04/26
5:13 UTC
Read the original article
Hit count: 202
I want to run an instance of wordpress within my rails app. I currently have wordpress files housed in public/wordpress, but I need to configure my .htaccess file to allow both types of requests. How do I do that? currently, .htaccess is:
General Apache options
AddHandler fcgid-script .fcgi
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)/!$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
ErrorDocument 500 "Application error Application failed to start properly"
© Stack Overflow or respective owner