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

SubDomains | Forum

Topic location: Forum home » Support » General Questions
Owen Baines
Owen Baines Oct 25 '11
I have a Hosting account with Oxwall installed, I have paid for SubDomains and Unfortunately i can not use them because Oxwall Doesnt allow them.

Help? All i get is a 500 Internal Error And the Company says that its because of Oxwall.
Max
Max Oct 25 '11
Hi !
Can you list content of your htaccess please ?
Owen Baines
Owen Baines Oct 25 '11
Options +FollowSymLinks
RewriteEngine On

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

RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} !/ow_updates/index.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.raw|/[^.]*)$  [NC]

RewriteRule (.*) index.php

Max
Max Oct 25 '11
Ok
After RewriteRule (.*) /http-bind [L]
Add this :

RewriteCond %{REQUEST_URI} !yoursubdomain/^/
Owen Baines
Owen Baines Oct 25 '11
So in subdomain section i should put say support.socialfire.cu.cc
Max
Max Oct 25 '11
After RewriteRule (.*) /http-bind [L]
Add this :

RewriteCond %{REQUEST_URI} !support/^/
Owen Baines
Owen Baines Oct 25 '11
ok thanks.
Owen Baines
Owen Baines Oct 25 '11
after adding that code, How long should it take for the SubDomain to work?
Max
Max Oct 25 '11
Immediatly
Owen Baines
Owen Baines Oct 25 '11
I still get 500 Internal Server Error
Max
Max Oct 25 '11
It have to work..
Try to copy your htaccess to your hard drive, remove it from your host and go to your subdomain
The Forum post is edited by Max Oct 25 '11
Owen Baines
Owen Baines Oct 25 '11
SubDomain works now. But the Oxwall website Doesnt. And that reversal happened within milliseconds.
The Forum post is edited by Owen Baines Oct 25 '11
Owen Baines
Owen Baines Oct 25 '11
Anyway to solve this or not?

Max
Max Oct 25 '11
Replace
RewriteCond %{REQUEST_URI} !support/^/
with
RewriteCond %{REQUEST_URI} !^/support

but not sure :/
Owen Baines
Owen Baines Oct 25 '11
Good news, You fixed my Site. Bad new, Subdomain isnt working now. :/
Max
Max Oct 25 '11
Take all that and replace your htaccess

Options +FollowSymLinks
RewriteEngine On

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

RewriteCond %{REQUEST_URI} !support/^/
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} !/ow_updates/index.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.raw|/[^.]*)$  [NC]

RewriteRule (.*)
Owen Baines
Owen Baines Oct 25 '11
Wow. What a Headache. Neither site works now. :|
Owen Baines
Owen Baines Oct 25 '11
Oxwall should develop a SubDomain Folder in the Software and SubDomains can be place in that Folder in SubDomain Set up and it will work without problems, But thats something that wont happen.
Max
Max Oct 25 '11
This ?

Options +FollowSymLinks
RewriteEngine On

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

RewriteCond %{REQUEST_URI} !support/
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} !/ow_updates/index.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.raw|/[^.]*)$  [NC]

RewriteRule (.*) index.php
Owen Baines
Owen Baines Oct 25 '11
Site = Working

SubDomain = Nope
Pages: 1 2 »