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 help | Forum

Topic location: Forum home » Support » General Questions
Michael Leader
Michael Sep 7 '10
OK so I have a site.
It works
lives on my host public_html/
I created a new folder called DEV
public_html/DEV and FTP'd the install up.

Every time I access the dev site I get redirected tot eh original site with a 404

Any suggestions?
Den Team
Den Sep 8 '10
Hello Michael!
You have this redirection cos oxwall's .htaccess catch all HTTP queries in top public_html folder and redirect it to index.php file.
If you want skip queries in some child folder, just add this:
RewriteCond %{REQUEST_URI} !^/child_folder/
in oxwall's .htaccess file after this line:
RewriteEngine On

where child_folder is the name of your folder.
Try this and let me know if this works for you :)
The Forum post is edited by Den Sep 8 '10
Dave
Dave Sep 25 '10
Hi addsenter i have tried the above but is still directing me to oxwall my oxwall script is in sub folder and so is my chat in a different folder any help would be appreciated

Den Team
Den Sep 27 '10
@Dave
Would you try to insert after Modrewrite On this line:
RewriteBase /oxwall_subfolder
Joe Coon
Joe Coon Nov 28 '10
I inserted RewriteCond %{REQUEST_URI} !^/child_folder/

below

RewriteRule (.*) /http-bind [L]

and it worked fine. I can now access my folder.


RewriteRule (.*) /http-bind [L]
RewriteCond %{REQUEST_URI} !^/child_folder/

Joe
The Forum post is edited by Joe Coon Nov 28 '10