hellkvist.org Forum Index hellkvist.org
Discussions about the free software on hellkvist.org
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

403 Forbidden

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> Peffisaur
View previous topic :: View next topic  
Author Message
oho



Joined: 02 Oct 2005
Posts: 2

PostPosted: Sun Oct 02, 2005 11:14 pm    Post subject: 403 Forbidden Reply with quote

Hi there,

I'm stuck on Peffisaur installation.
It seems that I have a problem with my .htaccess file which is the following:
Quote:
RewriteEngine On
RewriteBase /mdiary
RewriteRule ^s/([^/]+)/([^/]+) /web/mdiary/send.php [E=uid:$1,E=pwd:$2]
RewriteRule ^~(.*) /web/mdiary/home.php?user=$1
#php_flag register_globals 1


I have an error stating:
Quote:
Forbidden

You don't have permission to access /mdiary/~oho on this server.

This is also true whenever I try to access /mdiary/.

I have created an Alias on my server with the following synthax:
Quote:
Alias /mdiary "/web/mdiary"
<Directory "/web/mdiary">
Options Indexes MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>


Of course oho is the first user I have created.

I'm not a expert and was playing around for hours, ... Now I'm stuck and have no clue to where find a solution.

Any help would be appreciated.

By the way, I'm quite frustrated as I found this soft/codes very fun !
Great Job Peffis.

O.
Back to top
View user's profile Send private message
oho



Joined: 02 Oct 2005
Posts: 2

PostPosted: Mon Oct 03, 2005 9:21 am    Post subject: 403 Forbidden Solved ! Reply with quote

Hi there.

I finaly found out why I had this error 403 ! (At least I beleive so ...).
As I was frustrated within some thread around here to see someone saying that he had solve a problem without posting how, I didn't wanted to leave my post as it is.

Solution found:
I'm using a Linux Redhad with Apache 2.x and it seems that using mod_rewrite module usage within .htaccess have a workaround solution to avoid prolbems : the usage of "Options +FollowSymLinks" before the RewriteEngine On. So my .htaccess looks like:

Quote:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /mdiary
RewriteRule ^s/([^/]+)/([^/]+) /mdiary/send.php [E=uid:$1,E=pwd:$2]
RewriteRule ^~(.*) /mdiary/home.php?user=$1


I hope this could help some others with such type of error. It solved my problem.
Now I have to go a bit forward for setting Email and so on.

Thanks again peffis for such great work.

O.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> Peffisaur All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group