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

Problem with subdomain error 404 inn urls | Forum

Topic location: Forum home » Support » General Questions
Luis
Luis Jan 23 '14
I install oxwall 1.6.0 in a subfolder, and then i gave it a subdomain. I can see the oxwall index page but if i go to members, join or any other url cant go and the browser says 404 problem.


my config home url is:define('OW_URL_HOME', 'http://www.subdomain.com/');
and my htacces is:
Options +FollowSymLinksRewriteEngine OnRewriteBase /my folder
AddEncoding gzip .gzAddEncoding gzip .gzip<FilesMatch "\.(js.gz|js.gzip)$">  ForceType text/javascript</FilesMatch><FilesMatch "\.(css.gz|css.gzip)$">  ForceType text/css</FilesMatch>

RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_URI} !^/index\.phpRewriteCond %{REQUEST_URI} !/ow_updates/index\.phpRewriteCond %{REQUEST_URI} !/ow_updates/RewriteCond %{REQUEST_URI} !/ow_cron/run\.phpRewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]RewriteCond %{REQUEST_URI} !^/http://www.subdomain.com/RewriteRule (.*) index.php

ross Team
ross Jan 27 '14
Luis this line define('OW_URL_HOME', 'http://www.subdomain.com/') should be define('OW_URL_HOME', 'www.domain.com/subfolder)please try again and get back to us if it works.