View previous topic :: View next topic |
Author |
Message |
Allan Eising n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Feb 2004 Posts: 5
|
Posted: Wed Feb 25, 2004 2:30 pm Post subject: Apache2 and htaccess |
|
|
Hello I have a problem.
Before I get to the problem, I better specify my configuration:
Apache2: Server version: Apache/2.0.48
Running with php4.3.4, and mod_ssl
My problem is, that apache2 totally ignores my .htaccess files. I have checked everything (I think) - mod_access is loaded. The right options are specified in commonapach2.conf, which is correctly loaded. The .htaccess is chmod'et correctly also. I have absolutely no idea what to do, so please help me. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
malloc l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/6579039763fec331f70bd5.png)
Joined: 19 Sep 2003 Posts: 762
|
Posted: Wed Feb 25, 2004 5:07 pm Post subject: |
|
|
It's not setup correctly if it was it would work
Try to put here the conf part regarding the htaccess. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Allan Eising n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Feb 2004 Posts: 5
|
Posted: Wed Feb 25, 2004 9:35 pm Post subject: |
|
|
Well. I haven't changed anything from the default conf of it, and those lines seemed reasonable enough to me
Anyway, here is the conf file:
http://www.agitate.dk/commonapache2.conf |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
casper Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_yoda.gif)
Joined: 02 Nov 2003 Posts: 110 Location: Philadelphia, USA
|
Posted: Thu Feb 26, 2004 12:05 am Post subject: |
|
|
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
that's ur lil bug...u never tell it to drop ppl ![Smile :)](images/smiles/icon_smile.gif) _________________ fortune men-women:
"To our sweethearts and wives. May they never meet.
-- 19th century toast" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Allan Eising n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Feb 2004 Posts: 5
|
Posted: Thu Feb 26, 2004 5:03 pm Post subject: |
|
|
I don't get it. What do you want me to change? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ikaro Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/130830920042dd3d4464379.jpg)
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Thu Feb 26, 2004 5:38 pm Post subject: |
|
|
deny from all _________________ linux: #232767 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Allan Eising n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Feb 2004 Posts: 5
|
Posted: Thu Feb 26, 2004 7:28 pm Post subject: |
|
|
That doesn't help at all... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
primus Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 07 Jun 2003 Posts: 230
|
Posted: Thu Feb 26, 2004 8:55 pm Post subject: |
|
|
Allan Eising,
when you said, "That doesn't help at all...", do you mean the explaination "deny from all" doesnt make sense, or you tried it and apache still doesnt work properly?
if it is the first, then you should have in your commonapache2.conf:
Code: |
<IfModule mod_access.c>
Order deny,allow
Deny from all
</IfModule>
|
i think that is what was meant... if that doesnt work, then you may need to give a directory to set these parameters on like:
Code: |
<Directory />
# maybe for the AllowOverride, you need to say like ExecCGI, or something besides None
AllowOverride None
<IfModule mod_access.c>
Order deny,allow
Deny from all
</IfModule>
</Directory>
|
i hope this helps... _________________
$japh=qq/62D112U107N106E28D89U104N109E89 D86U96N102E14D77U87N106E96D12U68N95E98 D102U101N101E/;
map { $i++ while chop; push (@dune,$i); undef $i; } split /[eE]/;
map { print chr ${\(shift(@dune) + $_)}; } split /[DUNE]/,$japh;
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nepenthe Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_jawa.gif)
Joined: 14 Jul 2002 Posts: 317 Location: Sanford, ME
|
Posted: Mon Mar 01, 2004 10:17 pm Post subject: |
|
|
actually i am experincing the same problem here is relevant data:
.htaccess
commonapache2.conf
Code: |
<Directory />
Options -All -Multiviews
AllowOverride Options
<IfModule mod_access.c>
Order deny,allow
Deny from all
</IfModule>
</Directory>
|
Only to recieve the 403 error =) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nepenthe Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_jawa.gif)
Joined: 14 Jul 2002 Posts: 317 Location: Sanford, ME
|
Posted: Mon Mar 01, 2004 10:25 pm Post subject: |
|
|
Okay so chomd 666 .htaccess made things work.... lol figures such an easy solution. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|