Page 1 of 1
Domains and install folder, help!
Posted: Thu Mar 31, 2005 7:43 pm
by TimothyP
I've got an install of Serendipity in my webmania webspace. Its in the default folder /serendipity/. I configured it originally to be pointed to at
http://www.fracsoft.com/serendipity/ by setting relative base url to /serendipity/ and putting the full url as the base url. It worked fine.
I've since added a subdomain, deepbluesea.fracsoft.com, and set it to point to
www.fracsoft.com/serendipity/. When I go to deepbluesea, I get nothing. However, if I type
http://deepbluesea.fracsoft.com/index.php it starts to load the main page, but fails, or misses images or template styles. I've tried reconfiguring serendipity but it doesn't seem to work. Any ideas of what my settings should be or what I'm doing wrong?
Thanks in advance,
Tim
Posted: Fri Apr 01, 2005 7:30 am
by Dan
Check your .htaccess file.
Posted: Fri Apr 01, 2005 11:28 am
by garvinhicking
Another thing yuo might want to enabled is 'autodetect baseurl' within serendipity configuration.
But to me it looks like the site is working now?
Posted: Fri Apr 01, 2005 12:32 pm
by TimothyP
Dan wrote:Check your .htaccess file.
I unfortunately don't know what to do with it...? Seems pretty standard.
Posted: Fri Apr 01, 2005 12:36 pm
by TimothyP
garvinhicking wrote:Another thing yuo might want to enabled is 'autodetect baseurl' within serendipity configuration.
But to me it looks like the site is working now?
Unfortunately still not right. Its like it can't load the images and things. This link demonstrates the first problem:
http://deepbluesea.fracsoft.com/
(doesn't locate an index.php)
and
http://deepbluesea.fracsoft.com/index.php fails to load the page properly (XML feed images are missing)
[/url]
Posted: Fri Apr 01, 2005 3:08 pm
by garvinhicking
Timothy,
I cannot confirm. Everything works properly here. All images are there, on both URLs.
Regards,
Garvin
Posted: Fri Apr 01, 2005 3:14 pm
by TimothyP
My web host has just this second sorted it out. Only problem now archives and admin broken but I'll get there one day
One other question, how can I simultaneously configure serendipity with a relative url of serendipy/ for one domain and a url of / for another?
garvinhicking wrote:Timothy,
I cannot confirm. Everything works properly here. All images are there, on both URLs.
Regards,
Garvin
Posted: Fri Apr 01, 2005 3:40 pm
by garvinhicking
Hi Timothy!
Okay, great. Maybe your admin deactivated AllowOverride in his vhost config and thus broke your links.
One other question, how can I simultaneously configure serendipity with a relative url of serendipy/ for one domain and a url of / for another?
This is not possible, out of the box. You might be able to patch the baseURL autodetection mode feature to not only pay regard to HTTP_HOST but also REQUEST_URI. This snippet can be found somewhere in serendipity_config.inc.php - I must admit though that what you want to do is a not-so-nice thing for any webbased application
Regards,
Garvin.