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

[SOLVED] error 500 using oxwall and efront | Forum

erik Mar 20 '16
good afternoon all....please,i need your help....
here is the case: i use linuxlife.eu as my main site (build with oxwall) and eclass.linuxlife.eu (using efront lms).
in root folder there is an .htaccess file that is created by oxwall and it seems it blocks my efront,showing error 500,
and it downloads an index.php file with that error inside....

i tried to rename-remove .htaccess but it kills my oxwall...
i can not login, but it fixes efront...........
so,i can use only one out of two..... i attach this .htaccess file renamed as txt,if someone knows what to change to fix this case....and the index.php contents with the error renamed as txt

thank you all!!!
The Forum post is edited by erik Mar 21 '16
  htaccess.txt (0Kb)
  index.txt (1Kb)
ross Team
ross Mar 20 '16
erik Mar 21 '16
dear ross.....i tried to understant what i have to do.....i tried this below....but i have to double check it..could someone check it with me pls?

Options +FollowSymLinks
RewriteEngine On

AddEncoding gzip .gz
AddEncoding gzip .gzip
<FilesMatch "\.(js.gz|js.gzip)$">
  ForceType text/javascript
<FilesMatch "\.(css.gz|css.gzip)$">
  ForceType text/css

# ERIK ADDED LINE RewriteCond %{HTTP_HOST} !eclass.linuxlife.eu$ JUST FOR A TEST
RewriteCond %{HTTP_HOST} !eclass.linuxlife.eu$
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} !/ow_cron/run\.php
RewriteCond %{REQUEST_URI} !/e500\.php
RewriteCond %{REQUEST_URI} !/captcha\.php
#RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]
RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
ross Team
ross Mar 21 '16
no, the subfolder is eclass right? you need to include eclass directory only
The Forum post is edited by ross Mar 21 '16
erik Mar 21 '16
dear ross.....case closed,i managed to do the trick with your help....
thank you!!!!
ross Team
ross Mar 21 '16
Great, thanks for letting us know.