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

Oxwall 1.5.3 gives 500 Errors on all my sub - domains | Forum

Webster Molaudi
Webster Molaudi May 15 '13
Okay,

I upgraded to oxwall 1.5.3 and i started receiving 500 errors whenever i install other scripts on sub - doamins. I spoke to my hosting company and they said the below :

----

The problem is caused by these redirect rules:

Code:

RewriteCond %{REQUEST_URI} !^/index\.php^M
RewriteCond %{REQUEST_URI} !/ow_updates/index\.php^M
RewriteCond %{REQUEST_URI} !/ow_updates/^M
RewriteCond %{REQUEST_URI} !/ow_cron/run\.php^M
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]^M
RewriteRule (.*) index.php^M



in your .htaccess file here:

/home/myvirgo3/public_html/.htaccess

If I comment them, the site jobs.myvirgo.info starts working properly, however when I uncomment them, the site starts returning Internal Server Error. Unfortunately we can not tell you why and you should address the issue with a developer.

-----

Can anyone assist in this regard....the site gives issues is http://jobs.myvirgo.info

I was also told my Oxwall is using High CPU even though i installed Cloudfare.
dave Leader
dave May 16 '13

The way oxwall is designed around that rewrite rule, all you need to do is to tell the htaccess to accept your subdomains. 

 

so leave the code for oxwall in there

 

but right above the part that you show in this post put this

 

 #added to access custom files - sub domains or special folders
RewriteCond %{HTTP_HOST} !blablabla.org$           #use this for subdomains
RewriteCond %{REQUEST_URI} !/customfolders/       #use this for custom folders
RewriteCond %{REQUEST_URI} !/images/                 #same for folders
RewriteCond %{REQUEST_URI} !/googlewhatever701ad.html   #use for custom file names
#end of add

 

So you basically have to designate everything that is not a plugin, theme, or that came standard with the script download.  Just list it per the examples and you will be fine..

 

 

Webster Molaudi
Webster Molaudi May 16 '13
Dave, you are the man :) Thanks for the help ....!!!
dave Leader
dave May 16 '13
YW anytime, thank you :)