permission to access serenpidity from subdomain

Found a bug? Tell us!!
Post Reply
MatthiasG

permission to access serenpidity from subdomain

Post 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 ....
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: permission to access serenpidity from subdomain

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

setting index.php as site-index

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: setting index.php as site-index

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
MatthiasG

no response from my sysadmin

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: no response from my sysadmin

Post by garvinhicking »

That error you get is unrelated! Please see FAQ http://www.s9y.org/11.html#A18 about that issue...

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply