#1  
Old 18th October 2005, 23:09
sushestvo sushestvo is offline
Member
 
Join Date: Oct 2005
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default Options not allowed here

One of my friends who have a web-site on my server with ISPConfig was playing with .htaccess and he got this error:
[Sat Oct 15 03:58:30 2005] [alert] [client 217.30.xxx.xxx] /var/www/web3/web/.htaccess: Options not allowed here
how do I fix this?
Apache Directives in ISPConfig? If so, what do I put there?
Reply With Quote
Sponsored Links
  #2  
Old 18th October 2005, 23:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

What's in the .htaccess file?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 20th October 2005, 23:30
sushestvo sushestvo is offline
Member
 
Join Date: Oct 2005
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

AddDefaultCharset windows-1251

<IfModule mod_php4.c>
php_flag register_globals on
php_flag display_errors on
</IfModule>


#<?
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteRule ^rss.xml(/?)+$ /news/rss.php
RewriteRule ^category/([^/]*)/rss.xml(/?)+$ /news/rss.php?do=cat&category=$1
RewriteRule ^addnews(/?)+$ /?do=addnews
RewriteRule ^stats(/?)+$ /?do=stats
RewriteRule ^category(/?)+$ /?do=cat
RewriteRule ^category/([^/]*)(/?)+$ /?do=cat&category=$1
RewriteRule ^category/([^/]*)/page/([0-9]+)(/?)+$ /?do=cat&category=$1&cstart=$2
RewriteRule ^user(/?)+$ /?do=user
RewriteRule ^user/([^/]*)(/?)+$ /?subaction=userinfo&user=$1
RewriteRule ^user/([^/]*)/page/([0-9]+)(/?)+$ /?subaction=userinfo&user=$1&cstart=$2
RewriteRule ^newposts(/?)+$ /?subaction=newposts
RewriteRule ^newposts/page/([0-9]+)(/?)+$ /?subaction=newposts&cstart=$1
RewriteRule ^page(/?)+$ /?cstart=0
RewriteRule ^page/(.*)$ /?cstart=$1
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),(.*).html(/?)+$ /?subaction=showcomments&year=$1&month=$2&day=$3&ne ws_page=$4&news_name=$5
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/printage,([0-9]+),(.*).html(/?)+$ /news/print.php?subaction=showcomments&year=$1&month=$2& day=$3&news_page=$4&news_name=$5
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*).html(/?)+$ /?subaction=showcomments&year=$1&month=$2&day=$3&ne ws_name=$4
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})(/?)+$ /?year=$1&month=$2&day=$3
RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page/([0-9]+)(/?)+$ /?year=$1&month=$2&day=$3&cstart=$4
RewriteRule ^([0-9]{4})/([0-9]{2})(/?)+$ /?year=$1&month=$2
RewriteRule ^([0-9]{4})/([0-9]{2})/page/([0-9]+)(/?)+$ /?year=$1&month=$2&cstart=$3
RewriteRule ^([0-9]{4})(/?)+$ /?year=$1
RewriteRule ^([0-9]{4})/page/([0-9]+)(/?)+$ /?year=$1&cstart=$2
RewriteRule ^static/(.*).html(/?)+$ /?do=static&page=$1
RewriteRule ^favorites(/?)+$ /?do=favorites
RewriteRule ^favorites/page/([0-9]+)(/?)+$ /?do=favorites&cstart=$1
#?>


That's inside his .htaccess (I think it's mod-rewrite)
but how do I fix that?
Reply With Quote
  #4  
Old 20th October 2005, 23:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
 
Default

In your httpd.conf, towards the end, you find something similar to this:

Code:
<Directory /var/www/*/web>
    Options +Includes -Indexes
    AllowOverride None
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all
    <Files ~ "^\.ht">
    Deny from all
    </Files>
</Directory>
Replace
Code:
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
with
Code:
AllowOverride All
, restart Apache and try again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
oriongr (5th March 2008)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig, Drupal, and .htaccess jon335 General 23 16th November 2008 14:22
Number of allowed domains times 2? cstone Installation/Configuration 9 11th October 2005 03:06
Best practice Mount Options domino Installation/Configuration 11 20th August 2005 18:26


All times are GMT +2. The time now is 02:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.