J
I builded the server from @Slavik 's great manual.
PHP:
Web server lshttpd on CentOS-64-64-minimal is automatically restarted
[IMG]https://mail.google.com/mail/u/0/images/cleardot.gif[/IMG]
At [01/Nov/2013:03:12:31 +0100], web server with pid=25242 received unexpected signal=11, a core file is created. A new instance of web server will be started automatically!
Please forward the following debug information to bug@litespeedtech.com.
Environment:
Server: LiteSpeed/1.2.6 Open
OS: Linux
Release: 2.6.32-358.18.1.el6.x86_64
Version: #1 SMP Wed Aug 28 17:19:38 UTC 2013
Machine: x86_64
If the call stack information does not show up here, please compress and forward the core file located in /tmp/lshttpd/.
[New Thread 25242]
[Thread debugging using libthread_db enabled]
Core was generated by `openlite'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000004410a0 in HttpReq::checkPathInfo(char const*, int, int&, short&, short&, HttpContext const*) ()
#0 0x00000000004410a0 in HttpReq::checkPathInfo(char const*, int, int&, short&, short&, HttpContext const*) ()
#1 0x0000000000420f4c in RewriteEngine::getSubstValue(
RewriteSubstItem const*, HttpConnection*, char*&, int) ()
#2 0x0000000000420fba in RewriteEngine::appendSubst(RewriteSubstItem const*, HttpConnection*, char*&, char*, int&, int) ()
#3 0x00000000004211e6 in RewriteEngine::buildString(RewriteSubstFormat const*, HttpConnection*, char*, int&, int, int) ()
#4 0x00000000004212a0 in RewriteEngine::processCond(RewriteCond const*, HttpConnection*) ()
#5 0x0000000000422307 in RewriteEngine::processRule(RewriteRule const*, HttpConnection*) ()
#6 0x0000000000422567 in RewriteEngine::processRuleSet(RewriteRuleList const*, HttpConnection*, HttpContext const*, HttpContext const*) ()
#7 0x000000000044793d in HttpConnection::processURI(int) ()
#8 0x00000000004482c4 in HttpConnection::processNewReq() ()
#9 0x0000000000448c7e in HttpConnection::onReadEx() ()
#10 0x000000000043c255 in NtwkIOLink::handleEvents(short) ()
#11 0x00000000004794eb in epoll::waitAndProcessEvents(int) ()
#12 0x00000000004364d1 in EventDispatcher::run() ()
#13 0x000000000041a15c in HttpServerImpl::start() ()
#14 0x0000000000407c84 in LshttpdMain::main(int, char**) ()
#15 0x0000000000405178 in main ()
PHP:
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
Last edited by a moderator: