subdomains

Glen,
I have not cracked the code on getting siteframe running on a subdomain. It will run fine if I set the ini file site url to subdomain.domain.com but the URL rewrite does not work. Since the sub is just a pointer to a directory I modified htaccess with the base of /subdomain/. Should I have left this at / ???
Thanks,
Coby

No subdir
by glen / at 09:56 on May 18, 2006

The RewriteBase is the base of the URL, not a directory. So, if you're running in http://sub.example.com, then the rewrite base is "/". The only time you'd need to change the rewrite base if if you're running in a real subdirectory; i.e., if you'r in http://example.com/subdir/ - in this case, the RewriteBase would be /subdir/

Re: No subdir
by cglusky / at 10:01 on May 18, 2006

Thanks - you beat me to it.

Answered my own Q
by cglusky / at 10:00 on May 18, 2006

Well, I just went ahead and did it since I do not have any traffic yet and it works fine. So, for subdomain setup:

1) htaccess setting for base url can be left at root "/"
2) siteframe.ini setting for site_url is "http://subdomain.domain.com

Looks like it's working for me now with URL rewrite turned on

Re: Answered my own Q
by NFec / at 05:37 on June 17, 2007

I had the problem that I got every time after enabling the RewriteEngine a 403 error.

After adding:
Options +FollowSymLinks

It worked fine.

My .htaccess is in the same directory than siteframe and siteframe is installed at / of the web directory.
After all I commented out the RewriteBase.

Works fine!