LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > htaccess + auto_prepend_file failuere

Reply
 
Thread Tools Display Modes
  #11  
Old 01-06-2013, 08:53 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
/usr/local/lsws/DEFAULT/html>cat .htaccess
php_value auto_prepend_file ../design/header.php
php_value auto_append_file ../design/footer.php

/usr/local/lsws/DEFAULT/html/callback>cat .htaccess
php_value auto_prepend_file none
php_value auto_append_file none

/usr/local/lsws/DEFAULT/html/callback>cat list.php
PHP Code:
<?php
echo "--- callback/list.php -----<br>";
?>
just what you've suggested.

check:
http://php.net/manual/en/configuration.changes.php
Quote:
You will need "AllowOverride Options" or "AllowOverride All" privileges to do so
Reply With Quote
  #12  
Old 01-07-2013, 02:22 AM
MJuhler MJuhler is offline
New Member
 
Join Date: Dec 2012
Posts: 7
"AllowOverride All" in the webserver/vhost config or in the htaccess file?
Reply With Quote
  #13  
Old 01-07-2013, 02:57 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
either of them may have that setting.

refer
http://httpd.apache.org/docs/2.2/mod...#allowoverride
and
http://www.litespeedtech.com/docs/we...#allowOverride
Reply With Quote
Reply

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


All times are GMT -7. The time now is 08:50 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.