View previous topic :: View next topic |
Author |
Message |
oho
Joined: 02 Oct 2005 Posts: 2
|
Posted: Sun Oct 02, 2005 11:14 pm Post subject: 403 Forbidden |
|
|
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 |
|
 |
oho
Joined: 02 Oct 2005 Posts: 2
|
Posted: Mon Oct 03, 2005 9:21 am Post subject: 403 Forbidden Solved ! |
|
|
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 |
|
 |
|