Rusnak PHP Scripts

Full Version: Subdomain Issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Users are able to register there site and everything, but when they go to their site it just redirects them back to the home page.

http://www.myownbb.com

In my CP:

[Image: IwLPv.png]
It looks like the wildcards are set up correctly for you, but the .htaccess file changes are not. Did you change the .htaccess file that was included with the download to match your domain name?

Are you running a web server other than Apache on your server by any chance?

Let me know what you have done with the .htaccess file and we can take it from there. Smile
So I uploaded the .htaccess file again, and it is configured properly. Now I am just getting a 500 Internal Server Error.

my htaccess:
Code:
Options +FollowSymLinks
Options +Indexes
RewriteEngine On
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{HTTP_HOST} !^www\.myownbb\.com$ [NC]
RewriteCond %{HTTP_HOST} ^(www\.)?([^\.]+)\.myownbb\.com$ [NC]
RewriteRule (.*) /mybb/$1 [L]

RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{HTTP_HOST} !^www\.myownbb\.com$ [NC]
RewriteCond %{HTTP_HOST} !^myownbb\.com$ [NC]
RewriteRule (.*) /mybb/$1 [L]
That's odd.

Try removing one or both of the following lines from the .htaccess file:

Code:
Options +FollowSymLinks
Options +Indexes

Maybe your server is choking on those. Otherwise, your server may not have Apache Mod-Rewrite enabled.

Please see this article to test if you have it enabled or not. It will need to be enabled for things to work properly.
Are you using cpanel?

cmd file permissions 0775
Todo with your host, some hosts limit the actions done via the htaccess, best bet is to message them and ask them to see if they have blocked any of the bits you need.
Reference URL's