Page 1 of 1

permission to access serenpidity from subdomain

Posted: Mon Nov 21, 2005 9:30 am
by MatthiasG
I'm not shure if this is a qustion of serendipity, but perhaps ther is somebody who could give me a hint:
I try to use a subdomain to access serenpidity - but I get an error:
"403 Forbidden
You don't have permission to access / on this server".
Using direct access by www.guerke.net/serendipity/ is possible. In my configuration I enabled the option "HTTP-Hostnamen automatisch erkennen" and tried a lot of configuring with the "URL Formung" with no success. I'm not shure if this is a problem with serenpidity or with the configuration of my provider ....

Re: permission to access serenpidity from subdomain

Posted: Mon Nov 21, 2005 12:29 pm
by garvinhicking
If this error happens, your .htaccess file is not allowed to set the DirectoryIndex directive. Talk to your hoster to either allow AlloweOverride All in your VHost container, or to set "index.php" as a DirectoryIndex.

Regards,
Garvin

setting index.php as site-index

Posted: Mon Nov 21, 2005 4:54 pm
by Guest
If I get it right this is something about then safe mode - and my provider says in it's FAQ that it is not possible to switch of safemode.

Is ther a chance setting up a idex.html file? or can I do changes to index.php directly (if this is nessecary?)
Thanks
Matthias

Re: setting index.php as site-index

Posted: Mon Nov 21, 2005 7:26 pm
by garvinhicking
No, this has nothing to do with SafeMode, but only with proper Apache VirtualHosts setup.

You can only change that either via httpd.conf (only your sysadmin can do that) or via .htaccess. But via .htaccess only works, if its properly set up via httpd.conf, so both ways require a proper setup of your sysadmin.

Kindly push him into the "DirectoryIndex" option of your virtualHost container.


Regards,
Garvin

no response from my sysadmin

Posted: Wed Nov 23, 2005 10:14 am
by MatthiasG
Hi Gravin,

thank you for your hints. I hope to get a response from my sysadmin....
I did some experiences and it shows that I can access the subdomain, when I link directly to sub.domain.net/index.php. But in this case the css is not used and internal links do not work. That's realy diappointing. ...
Any case, thanks for your help.
Matthias

Re: no response from my sysadmin

Posted: Wed Nov 23, 2005 12:51 pm
by garvinhicking
That error you get is unrelated! Please see FAQ http://www.s9y.org/11.html#A18 about that issue...

Best regards,
Garvin