M
Hello
I'm not new to Litespeed. Already using a 1 Core license.
Just finished configuring OpenLitespeed on CentOS 6.5 Server x86 (using Litespeed RPM CentOS 6) for a friend of mine.
Virtual Host Name : mysite.com
Domain: mysite.com
Aliases: www.mysite.com
Member Virtual Host Root: /home/mysite/
Wordpress files (for example wp-config, index.php, ....) are under /home/mysite/public_html
Using inside rewrite tab:
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
OpenLitespeed is generating errors:
ERRORInvalid rewrite directive: RewriteBase /
I tried again, this time moving whole content to /home/mysite/public_html/wordpress and changing rewrite to
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Again the nasty error + 404 error page but, doing a simple:
touch /home/mysite/public_html/phpinfo.php
nano /home/mysite/public_html/phpinfo.php
<?php phpinfo(); ?>
I see that server recognize php files.
Nasty openlitespeed binary ?
I'm not new to Litespeed. Already using a 1 Core license.
Just finished configuring OpenLitespeed on CentOS 6.5 Server x86 (using Litespeed RPM CentOS 6) for a friend of mine.
Virtual Host Name : mysite.com
Domain: mysite.com
Aliases: www.mysite.com
Member Virtual Host Root: /home/mysite/
Wordpress files (for example wp-config, index.php, ....) are under /home/mysite/public_html
Using inside rewrite tab:
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
OpenLitespeed is generating errors:
ERRORInvalid rewrite directive: RewriteBase /
I tried again, this time moving whole content to /home/mysite/public_html/wordpress and changing rewrite to
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Again the nasty error + 404 error page but, doing a simple:
touch /home/mysite/public_html/phpinfo.php
nano /home/mysite/public_html/phpinfo.php
<?php phpinfo(); ?>
I see that server recognize php files.
Nasty openlitespeed binary ?