Download
Blog
Wiki
Forum
Store
Contact
Home
Products
Web Server
Load Balancer
LiteSpeed SAPI
Solutions
Web Hosting
Online Gaming
PHP Application
Rails Hosting
Case Studies
Resources
Documentation
White Papers
Benchmarks
Testimonials
FAQ
HOW-TOs
Support
Services
Wiki
Forum
Company
About
News
Blog
Management
Partners
Careers
Support
Services
Wiki
Forum
User Name
Password
Remember Me?
Register
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
LiteSpeed Support Forums
>
LiteSpeed Web Server
>
General
>
htaccess + auto_prepend_file failuere
Page 2 of 2
<
1
2
Thread Tools
Display Modes
#
11
01-06-2013, 08:53 AM
NiteWave
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
NiteWave
View Public Profile
Send a private message to NiteWave
Find all posts by NiteWave
#
12
01-07-2013, 02:22 AM
MJuhler
New Member
Join Date: Dec 2012
Posts: 7
"AllowOverride All" in the webserver/vhost config or in the htaccess file?
MJuhler
View Public Profile
Send a private message to MJuhler
Find all posts by MJuhler
#
13
01-07-2013, 02:57 AM
NiteWave
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
NiteWave
View Public Profile
Send a private message to NiteWave
Find all posts by NiteWave
Page 2 of 2
<
1
2
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
General
News
Use Cases
LiteSpeed Web Server
General
Install/Configuration
LiteSpeed Cache
Feedback/Feature Requests
Bug Reports
LSWS 4.1 Release
LiteSpeed Load Balancer
General
LiteSpeed Anti-DDoS
Proxy Service
Popular web applications
Word Press
vBulletin Forum
Joomla
Magento
External Applications
Apache Migration/Compatibility
Ruby/Rails
PHP
CGI/Perl/Python
Java JSP/Servlet
All times are GMT -7. The time now is
12:38 AM
.
-
Archive
-
Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved.
Privacy Policy
.