We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

.htaccess | Forum

Topic location: Forum home » Support » General Questions
Pete
Pete Aug 21 '12
I want to upload a page and add it to my site in admin,but the .htaccess file is stopping me error 400 / if i rename .htaccess to try it it works ok but as soon as i rename back i get the error 400 


 what line of code do i need to add  to .htaccess    before/my html page


The Forum post is edited by Pete Aug 21 '12
Andreas
Andreas Aug 21 '12
Create a Folder "folder2".

Add this two lines in your .htaccess
    RewriteCond %{REQUEST_URI} "/folder2/"
    RewriteRule (.*) $1 [L]
This should be under "</FilesMatch>"

Add all Files in this Folders. The Rewrite Rule would be ignored.

----------------------
If you appreciate my work, please make a Donation.
The Forum post is edited by Andreas Aug 21 '12
Pete
Pete Aug 22 '12

Thanks