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 for a php file [Solved] | Forum

tammy harris
tammy harris Jun 7 '14
i have tryed so many ways and can not make a php file in my root directory visible oxwall rewrite rule blocks it 
i can make html and folders visible with htaccess 
the file is to make a server site malware scan work from 
http://labs.sucuri.net/

is a simple php file 
with name like 

sucuri-b839bf8384cd14959615566d5db55e4e.php 

i have tryed so many ways like adding this to htaccess
RewriteCond %{REQUEST_URI} !/sucuri-b839bf8384cd14959615566d5db55e4e.php 


The Forum post is edited by ross Jun 8 '14
tammy harris
tammy harris Jun 7 '14
dam i should post my problem here more often this is the 3rd time that within 10 minutes of posting a problem i find answer lol

This happen cos oxwall's .htaccess catches all queries (subfolders too) and redirect it to index.php. To allow queries to your addons sites, just added this rule:

i wasent putting it above the index bit

RewriteCond %{REQUEST_URI} !/your_addon_site/

before:

RewriteRule (.*) index.php
ross Team
ross Jun 8 '14
Tammy, I'm going to mark this post as Solve then.