Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th March 2007, 15:47
bochenn bochenn is offline
Junior Member
 
Join Date: Feb 2007
Location: Rio Cuarto, Argentina
Posts: 27
Thanks: 1
Thanked 2 Times in 1 Post
Send a message via AIM to bochenn Send a message via Skype™ to bochenn
Default can't make work joomla + sef + .htaccess

i have posted an answer at this link http://www.howtoforge.com/forums/sho...49&postcount=5 but i think it is in the wrong forum, so i'm posting in here as well.

does anyone knows what could be? how i should fix it?

thanks
Reply With Quote
Sponsored Links
  #2  
Old 30th March 2007, 17:03
AlArenal AlArenal is offline
Senior Member
 
Join Date: Feb 2007
Location: Germany
Posts: 104
Thanks: 1
Thanked 5 Times in 5 Posts
Default

Check Apache's error log on whether or not your .htaccess file gets processed. Did you add something like the following to your web's Apache directives in ISPConfig?

Code:
<Directory /var/www/web123/web>
  Options FollowSymLinks
  AllowOverride All
</Directory>
Reply With Quote
  #3  
Old 30th March 2007, 18:04
bochenn bochenn is offline
Junior Member
 
Join Date: Feb 2007
Location: Rio Cuarto, Argentina
Posts: 27
Thanks: 1
Thanked 2 Times in 1 Post
Send a message via AIM to bochenn Send a message via Skype™ to bochenn
Default

i have added those lines to my apache directives but with no success.

This is my error log.

Code:
Mar 29 18:17:43 2007] [alert] [client 201.231.24.149] /var/www/web123/web/.htaccess: Options not allowed here
Mar 29 18:17:45 2007] [alert] [client 201.231.24.149] /var/www/web123/web/.htaccess: Options not allowed here
Mar 29 18:17:45 2007] [alert] [client 201.231.24.149] /var/www/web123/web/.htaccess: Options not allowed here
Mar 29 18:17:46 2007] [alert] [client 201.231.24.149] /var/www/web123/web/.htaccess: Options not allowed here
Mar 29 18:17:46 2007] [alert] [client 201.231.24.149] /var/www/web123/web/.htaccess: Options not allowed here
Mar 29 18:18:30 2007] [error] [client 201.231.24.149] PHP Notice:  Constant _VALID_MOS already defined in /var/www/web123/web/mambots/system/bot_sifr.php on line 13
Mar 29 18:18:30 2007] [error] [client 201.231.24.149] PHP Notice:  Undefined variable: task in /var/www/web123/web/components/com_sef/sef404.php on line 693
Mar 29 18:18:30 2007] [error] [client 201.231.24.149] PHP Notice:  Undefined index:  HTTPS in /var/www/web123/web/modules/mod_user_tracking_stats.php on line 38
Mar 29 18:19:04 2007] [error] [client 201.231.24.149] File does not exist: /var/www/web123/web/consultorio, referer: http://www.guillermo.com/
Mar 29 18:19:06 2007] [error] [client 201.231.24.149] PHP Notice:  Constant _VALID_MOS already defined in /var/www/web123/web/mambots/system/bot_sifr.php on line 13
Mar 29 18:19:06 2007] [error] [client 201.231.24.149] PHP Notice:  Undefined variable: task in /var/www/web123/web/components/com_sef/sef404.php on line 693
Mar 29 18:19:06 2007] [error] [client 201.231.24.149] PHP Notice:  Undefined index:  HTTPS in /var/www/web123/web/modules/mod_user_tracking_stats.php on line 38
Mar 29 18:20:20 2007] [error] [client 201.231.24.149] PHP Notice:  Constant _VALID_MOS already defined in /var/www/web123/web/mambots/system/bot_sifr.php on line 13
Mar 29 18:20:20 2007] [error] [client 201.231.24.149] PHP Notice:  Undefined variable: task in /var/www/web123/web/components/com_sef/sef404.php on line 693
Mar 29 18:20:20 2007] [error] [client 201.231.24.149] PHP Notice:  Undefined index:  HTTPS in /var/www/web123/web/modules/mod_user_tracking_stats.php on line 38
Mar 29 18:42:45 2007] [error] [client 201.231.24.149] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 45 bytes) in /var/www/web123/web/i
Mar 29 18:43:30 2007] [error] [client 201.231.24.149] PHP Notice:  Constant _VALID_MOS already defined in /var/www/web123/web/mambots/system/bot_sifr.php on line 13, refere
Mar 29 18:43:30 2007] [error] [client 201.231.24.149] PHP Notice:  Undefined variable: task in /var/www/web123/web/components/com_sef/sef404.php on line 693, referer: http:
Mar 29 18:43:30 2007] [error] [client 201.231.24.149] PHP Notice:  Undefined index:  HTTPS in /var/www/web123/web/modules/mod_user_tracking_stats.php on line 38, referer: h
Mar 29 18:55:17 2007] [error] [client 66.249.65.143] File does not exist: /var/www/web123/web/pasantias.html
Mar 29 18:55:17 2007] [error] [client 66.249.65.143] File does not exist: /var/www/web123/web/actividades-cientificas
Mar 29 18:55:18 2007] [error] [client 66.249.65.143] File does not exist: /var/www/web123/web/actividades-cientificas
Mar 29 19:24:21 2007] [error] [client 66.249.65.143] File does not exist: /var/www/web123/web/curriculum-vitae-dr.-guillermo-.html
Mar 29 19:24:21 2007] [error] [client 66.249.65.143] File does not exist: /var/www/web123/web/consultorio
Mar 29 22:43:29 2007] [error] [client 125.60.243.43] PHP Notice:  Constant _VALID_MOS already defined in /var/www/web123/web/mambots/system/bot_sifr.php on line 13, referer
Mar 29 22:43:32 2007] [error] [client 125.60.243.43] PHP Notice:  Undefined variable: task in /var/www/web123/web/components/com_sef/sef404.php on line 693, referer: http:/
Mar 29 22:43:32 2007] [error] [client 125.60.243.43] PHP Notice:  Undefined variable: htmlClass in /var/www/web123/web/modules/mod_sm2sectionHeader.php on line 31, referer:
Mar 29 22:43:32 2007] [error] [client 125.60.243.43] PHP Notice:  Undefined property:  stdClass::$title in /var/www/web123/web/modules/mod_js_smoothgallery.php on line 11, 
Mar 29 22:43:32 2007] [error] [client 125.60.243.43] PHP Notice:  Undefined index:  HTTPS in /var/www/web123/web/modules/mod_user_tracking_stats.php on line 38, referer: ht
Mar 30 00:39:55 2007] [error] [client 74.6.73.251] File does not exist: /var/www/web123/web/actividades-cientificas
Mar 30 04:05:09 2007] [error] [client 201.231.24.149] PHP Notice:  Constant _VALID_MOS already defined in /var/www/web123/web/mambots/system/bot_sifr.php on line 13
Mar 30 04:05:10 2007] [error] [client 201.231.24.149] PHP Notice:  Undefined variable: task in /var/www/web123/web/components/com_sef/sef404.php on line 693
Mar 30 04:05:10 2007] [error] [client 201.231.24.149] PHP Notice:  Undefined index:  HTTPS in /var/www/web123/web/modules/mod_user_tracking_stats.php on line 38
Mar 30 04:06:25 2007] [error] [client 201.231.24.149] File does not exist: /var/www/web123/web/favicon.ico
Mar 30 04:12:29 2007] [error] [client 201.231.24.149] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 32 bytes) in /var/www/web123/web/i
Mar 30 04:21:30 2007] [error] [client 201.231.24.149] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 41 bytes) in /var/www/web123/web/i
Mar 30 04:36:09 2007] [error] [client 201.231.24.149] File does not exist: /var/www/web123/web/favicon.ico
Mar 30 04:57:52 2007] [error] [client 201.231.24.149] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 6 bytes) in /var/www/web123/web/in
Mar 30 04:59:29 2007] [error] [client 201.231.24.149] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 49 bytes) in /var/www/web123/web/i
Mar 30 04:59:52 2007] [error] [client 201.231.24.149] PHP Fatal error:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 49 bytes) in /var/www/web123/web/i
Mar 30 06:47:00 2007] [error] [client 201.231.24.149] PHP Notice:  Constant _VALID_MOS already defined in /var/www/web123/web/mambots/system/bot_sifr.php on line 13, refere
Mar 30 06:47:00 2007] [error] [client 201.231.24.149] PHP Notice:  Undefined variable: task in /var/www/web123/web/components/com_sef/sef404.php on line 693, referer: http:
Mar 30 06:47:00 2007] [error] [client 201.231.24.149] PHP Notice:  Undefined index:  HTTPS in /var/www/web123/web/modules/mod_user_tracking_stats.php on line 38, referer: h
Mar 30 06:47:06 2007] [error] [client 201.231.24.149] File does not exist: /var/www/web123/web/nosotros.html, referer: http://www.guillermo.com/index.php
Mar 30 06:47:14 2007] [error] [client 201.231.24.149] File does not exist: /var/www/web123/web/nosotros.html, referer: http://www.guillermo.com/index.php
Mar 30 06:47:16 2007] [error] [client 201.231.24.149] File does not exist: /var/www/web123/web/nosotros.html, referer: http://www.guillermo.com/index.php
Mar 30 06:47:21 2007] [error] [client 201.231.24.149] PHP Notice:  Undefined property:  mosConfig::$config_ml_support in /var/www/web123/web/administrator/components/com_co
Mar 30 06:48:34 2007] [error] [client 201.231.24.149] PHP Notice:  Constant _VALID_MOS already defined in /var/www/web123/web/mambots/system/bot_sifr.php on line 13, refere
Mar 30 06:48:34 2007] [error] [client 201.231.24.149] PHP Notice:  Undefined variable: task in /var/www/web123/web/components/com_sef/sef404.php on line 693, referer: http:
Mar 30 06:48:34 2007] [error] [client 201.231.24.149] PHP Notice:  Undefined index:  HTTPS in /var/www/web123/web/modules/mod_user_tracking_stats.php on line 38, referer: h
Mar 30 06:49:36 2007] [error] [client 201.231.24.149] File does not exist: /var/www/web123/web/actividades-cientificas, referer: http://www.guillermo.com/index.php 
Mar 30 06:49:38 2007] [error] [client 201.231.24.149] File does not exist: /var/www/web123/web/actividades-cientificas, referer: http://www.guillermo.com/index.php 
Mar 30 06:49:39 2007] [error] [client 201.231.24.149] File does not exist: /var/www/web123/web/actividades-cientificas, referer: http://www.guillermo.com/index.php
Reply With Quote
  #4  
Old 30th March 2007, 18:29
AlArenal AlArenal is offline
Senior Member
 
Join Date: Feb 2007
Location: Germany
Posts: 104
Thanks: 1
Thanked 5 Times in 5 Posts
Default

Um.. it would take a great coincidence for my code to work on your machine, as "web123" has to substituted by the directory name of the web for which you want to pull the trigger. Maybe I dhould have made it clearer...

So instead of "web123" have a look at how the directory is named on your machine. You may be able to even use the link "www.yourdomain.tld" pointing to the web's directory. "ls -l /var/www" should provide you with more information (although I'm not sure the path is the same on other distributions as I am using Debian Etch).
Reply With Quote
  #5  
Old 30th March 2007, 19:44
bochenn bochenn is offline
Junior Member
 
Join Date: Feb 2007
Location: Rio Cuarto, Argentina
Posts: 27
Thanks: 1
Thanked 2 Times in 1 Post
Send a message via AIM to bochenn Send a message via Skype™ to bochenn
Default

the directory name is web123, the same as in your example.
Reply With Quote
  #6  
Old 30th March 2007, 21:18
AlArenal AlArenal is offline
Senior Member
 
Join Date: Feb 2007
Location: Germany
Posts: 104
Thanks: 1
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by bochenn
the directory name is web123, the same as in your example.
Serious!?

I should have played lotto then...

To me you error messages says something like "whatever you are trying to do in .htaccess, the web server is not configured to allow the included actions".

Did you create the directory web123 by hand? I still doubt my luck...
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 functionality does not work kalikoder Installation/Configuration 7 13th April 2007 09:29
CentOS and .htaccess rlhesson Installation/Configuration 5 31st March 2007 15:00
ubuntu ispconfig joomla .htaccess steve1084 General 8 6th January 2007 16:55
how to make php to work with mysql (php installed with apt-get, (no mysql support) grafik Installation/Configuration 3 16th May 2006 00:18
.htaccess PHP - Hobe it make sence. Joe-Montana Server Operation 3 5th November 2005 02:36


All times are GMT +2. The time now is 18:21.


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