#1  
Old 10th March 2008, 23:59
TauTau TauTau is offline
Member
 
Join Date: Oct 2007
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default .htaccess not working

Hi,

I'm trying to install eGroupware, and there is a .htaccess file included which I can't get to work.

My apache2.conf says
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>
and the .htaccess is

Code:
#
# Set
#
# AllowOverride FileInfo
#
# to enable parsing off this file
#
php_value memory_limit 32M
php_value max_execution_time 60
php_flag register_globals Off
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
# settings for the file upload, you might increase them further
php_value upload_max_filesize 16M
# session handling: now the check for expired sessions is done on every 10th session creation
php_flag session.use_trans_sid Off
php_value session.gc_probability 1
php_value session.gc_divisor 10
# multibyte extension: needed for utf-8
php_value mbstring.func_overload 7
so this should work... but even when I add the AllowOverride FileInfo to the site directives in ISPconfig, I always get the infamous "httpd -t error" in ispconfig.log (this should probably pop up somewhere, if one doesn't monitor the log file it goes by silently).
I am running suphp btw...
Reply With Quote
Sponsored Links
  #2  
Old 11th March 2008, 00:36
daveb daveb is offline
Senior Member
 
Join Date: Dec 2006
Location: St Louis Mo
Posts: 272
Thanks: 43
Thanked 41 Times in 37 Posts
Default

suPHP does not support the php_value/php_admin_value directives.
Reply With Quote
  #3  
Old 11th March 2008, 07:38
TauTau TauTau is offline
Member
 
Join Date: Oct 2007
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default

hm, ok... is there a way then to set those vlaues, without giving up suphp for all sites?
Reply With Quote
  #4  
Old 11th March 2008, 07:48
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

By the way, i see that you have:
"AllowOverride None" within your Apache configuration file which means that .htaccess files are not allowed.
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005

Last edited by Hans; 11th March 2008 at 07:52.
Reply With Quote
  #5  
Old 11th March 2008, 08:01
TauTau TauTau is offline
Member
 
Join Date: Oct 2007
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default

but below it is "AllowOverride FileInfo", shouldn't that allow it? btw, I found the solution in the other thread regarding suphp and php_value, I use a separate php.ini now. Now I just need to convince eGroupware that php-pear actually *is* installed (or is this another suphp issue?)
Reply With Quote
  #6  
Old 11th March 2008, 08:11
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
 
Default

"AllowOverride None" should be "AllowOverride All" to allow the use of .htaccess files. restart Apache afterwards.
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005
Reply With Quote
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
.htaccess Not Working? emil2k Installation/Configuration 1 22nd December 2007 15:00
.htaccess Liac Server Operation 15 20th June 2007 15:19
wordpress MU and ISPconfig .htaccess isues palkat General 4 18th October 2006 11:57
.htaccess login challenge broken with mod_rewrite ozonblue Installation/Configuration 2 13th September 2006 10:09
.htaccess stopped working tgansert Installation/Configuration 2 1st June 2006 16:48


All times are GMT +2. The time now is 17:06.


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