ispconfig and mambo

Discussion in 'Installation/Configuration' started by shajazzi, Jan 2, 2006.

  1. shajazzi

    shajazzi New Member

    My sites are in the following directories
    srv/www/web1/web
    srv/www/web2/web
    srv/www/web3/web
    srv/www/web4/web

    This is where i have put the .htaccess file.

    On my Windows sever the .htaccess file is in

    C:\Apache\htdocs\mysites

    and all Mambo sites have 404 SEF installed and all run fine.

    I have tried all the previous .htacces files you suggested but with no luck.
    There has to be something really simple that i am overlooking.:confused:

    shajazzi
     
    Last edited: Feb 6, 2006
  2. falko

    falko Super Moderator

    I guess it must be a slight change in the .htaccess file...
    Do you get a 404 or a 500 error with the different .htaccess files?
    Is there anything in the Apache error log?
     
  3. shajazzi

    shajazzi New Member

    Thanks falko,
    I deleted everything in the error file then tried each one of the .htaccess files, these are the errors I`am getting.

    [Mon Feb 06 18:11:38 2006] [error] [client 192.168.1.100] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /srv/www/web1/web/news, referer: http://www.3lions2006.com/
    [Mon Feb 06 18:11:38 2006] [error] [client 192.168.1.100] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /srv/www/web1/web/error/forbidden.html, referer: http://www.3lions2006.com/
    [Mon Feb 06 18:11:38 2006] [error] [client 192.168.1.100] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /srv/www/web1/web/favicon.ico
    [Mon Feb 06 18:11:38 2006] [error] [client 192.168.1.100] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /srv/www/web1/web/error/forbidden.html
    [Mon Feb 06 18:12:02 2006] [error] [client 192.168.1.100] File does not exist: /srv/www/web1/web/news, referer: http://www.3lions2006.com/
    [Mon Feb 06 18:12:03 2006] [error] [client 192.168.1.100] File does not exist: /srv/www/web1/web/favicon.ico
    [Mon Feb 06 18:12:16 2006] [error] [client 192.168.1.100] File does not exist: /srv/www/web1/web/favicon.ico
    [Mon Feb 06 18:12:16 2006] [error] [client 192.168.1.100] File does not exist: /srv/www/web1/web/favicon.ico
    [Mon Feb 06 18:12:20 2006] [error] [client 192.168.1.100] File does not exist: /srv/www/web1/web/favicon.ico
    [Mon Feb 06 18:12:22 2006] [error] [client 192.168.1.100] File does not exist: /srv/www/web1/web/favicon.ico
    [Mon Feb 06 18:12:27 2006] [error] [client 192.168.1.100] File does not exist: /srv/www/web1/web/favicon.ico
    [Mon Feb 06 18:13:23 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:13:23 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:13:23 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:13:23 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:14 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:14 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:14 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:14 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:17 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:17 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:18 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:18 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:19 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:19 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:19 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:19 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:52 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:52 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:52 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:52 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:55 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:55 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:55 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:55 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:56 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:56 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:56 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration
    [Mon Feb 06 18:14:56 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Invalid command 'mod_gzip_on', perhaps mis-spelled or defined by a module not included in the server configuration

    shajazzi
     
  4. falko

    falko Super Moderator

    You should have something like

    Code:
    <Directory /srv/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>
    in your Apache configuration. Replace it with this:

    Code:
    <Directory /srv/www/*/web>
        Options +Includes [B][COLOR="Red"]FollowSymLinks[/COLOR][/B] -Indexes
        AllowOverride None
        AllowOverride Indexes AuthConfig Limit FileInfo
        Order allow,deny
        Allow from all
        <Files ~ "^\.ht">
        Deny from all
        </Files>
    </Directory>
    and restart Apache.

    Comment out
    Code:
    mod_gzip_on
    in your .htaccess file.
     
  5. shajazzi

    shajazzi New Member

    I changed the Apache config file and commented out the mod_gzip_on, but i am still receiving the following errors:

    [Tue Feb 07 00:18:53 2006] [alert] [client 88.105.1.54] /srv/www/web1/web/.htaccess: Options not allowed here
    [Tue Feb 07 00:18:53 2006] [alert] [client 88.105.1.54] /srv/www/web1/web/.htaccess: Options not allowed here
    [Tue Feb 07 00:19:59 2006] [alert] [client 88.105.1.54] /srv/www/web1/web/.htaccess: Options not allowed here
    [Tue Feb 07 00:19:59 2006] [alert] [client 88.105.1.54] /srv/www/web1/web/.htaccess: Options not allowed here
    [Tue Feb 07 00:20:39 2006] [alert] [client 88.105.1.54] /srv/www/web1/web/.htaccess: Options not allowed here
    [Tue Feb 07 00:20:39 2006] [alert] [client 88.105.1.54] /srv/www/web1/web/.htaccess: Options not allowed here
    [Tue Feb 07 00:22:20 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Options not allowed here, referer: http://www.3lions2006.com/administrator/index2.php?option=com_sef
    [Tue Feb 07 00:22:20 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Options not allowed here, referer: http://www.3lions2006.com/administrator/index2.php?option=com_sef
    [Tue Feb 07 00:22:20 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Options not allowed here
    [Tue Feb 07 00:22:20 2006] [alert] [client 192.168.1.100] /srv/www/web1/web/.htaccess: Options not allowed here

    shajazzi
     
  6. falko

    falko Super Moderator

    Please change this in your Apache configuration:

    Code:
    <Directory /srv/www/*/web>
        Options +Includes FollowSymLinks -Indexes
        [B][COLOR="Red"]AllowOverride None
        AllowOverride Indexes AuthConfig Limit FileInfo[/COLOR][/B]
        Order allow,deny
        Allow from all
        <Files ~ "^\.ht">
        Deny from all
        </Files>
    </Directory>
    to

    Code:
    <Directory /srv/www/*/web>
        Options +Includes FollowSymLinks -Indexes
        [B][COLOR="Red"]AllowOverride All[/COLOR][/B]
        Order allow,deny
        Allow from all
        <Files ~ "^\.ht">
        Deny from all
        </Files>
    </Directory>
    and restart Apache.
     
  7. shajazzi

    shajazzi New Member

    Thanks falko,
    That done the trick, all the links are working perfectly.

    Thanks again for taking the time to help me with my glitches.

    shajazzi;) ;) ;)
     
  8. shajazzi

    shajazzi New Member

    My next problem is that i installed Joomla with safe mode disabled and it works OK until i try to install Virtuemart.
    The component installs OK but the shop isn`t there.
    I noticed this when I tried to migrate a site with phpshop from my windows server i had to manually remove all phpshop components and modules for the site to work also there was a problem with the news feed scroller which also had to be removed.
    I have also tried to install the complete joomla eCommerceEdition package but this results in not being able to view the site front end, but i can log in to the back end
    Any suggestions?

    shajazzi
     
  9. till

    till Super Moderator

    Are you shure taht all directories where these installers want to write their files to are writable?

    Can you please make a new thread with your next question. Its easier when each thread handles only one problem :)
     
  10. poba

    poba New Member

    Hi!

    I had problems with installing Mambo, but after executing
    I managed to install Mambo.

    But now I have problems with stuff in /web folder. I can't create new folder...not in ISPConfig not through FTP Client. How can I fix this?

    Tilen
     
  11. falko

    falko Super Moderator

    By changing back the owner and group of /srv/www/web17/web. You should only change the ownership of those directories that Apache needs write access for - but instead of changing the owner and group, you could also do a
    Code:
    chmod 777 /path/to/directory
     

Share This Page