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

Go Back   LiteSpeed Support Forums > External Applications > PHP > Wordpress errors

Reply
 
Thread Tools Display Modes
  #1  
Old 12-07-2008, 11:47 AM
whey whey is offline
Member
 
Join Date: Dec 2008
Posts: 14
Unhappy Wordpress errors

I have LiteSpeed 3.3.22, PHP 5.2.6, MySql 5.x and Wordpress 2.6.5 successfully installed however, when I try to access my blog on anything but the administration side it gives me a 404 error.

Site:
http://snailface.org/blog/

However the wordpress login and admin features are still avialable if typed in directly or as follows:

http://snailface.org/blog/wp-login.php

I'm rather new to this so hopefully one of you guys can help me out, can't find much on the web.

Cheers,
Whey
Reply With Quote
  #2  
Old 12-07-2008, 06:49 PM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
Check if you are allowing the .htaccess file. It works when you go directly to http://snailface.org/blog/index.php
Reply With Quote
  #3  
Old 12-07-2008, 08:31 PM
whey whey is offline
Member
 
Join Date: Dec 2008
Posts: 14
(new to the whole programing/server side thing - sorry)

In wordpress admin it says:

If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
However I am not sure how to edit or even find .htaccess, tried editing it in the litespeed pannel but I could only find a allow overright option in configure/server. I am not used to litespeed or apache either.

I do however have root access to my server (using debian). If you could give me instructions on how to access the htaccess that would be appreciated.

Sorry for not knowing the basics Thanks for the help!

Whey

Last edited by whey; 12-07-2008 at 08:39 PM..
Reply With Quote
  #4  
Old 12-08-2008, 05:10 AM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
This is not a LSWS issue, it's a WP setup issue

Just copy that code and put it in a file called .htaccess in the root of the web site. That should resolve the problem.
Reply With Quote
  #5  
Old 12-08-2008, 10:22 AM
whey whey is offline
Member
 
Join Date: Dec 2008
Posts: 14
Tried that, there was no .htaccess file at the root the the site so I created one and placed it in in the root of the website (usr/local/lsws/DEFAULT/html/.htaccess). Still got the same error even after both a web server and server reboot.

Reply With Quote
  #6  
Old 12-08-2008, 03:15 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Are you using LiteSpeed with control panel by reading apache configuration file or it is a standalone LiteSpeed installation?
If it is standalone, you need to enable .htaccess for that vhost.
http://www.litespeedtech.com/docs/we...#allowOverride
Reply With Quote
  #7  
Old 12-08-2008, 04:37 PM
whey whey is offline
Member
 
Join Date: Dec 2008
Posts: 14
got it, thanks guys. will let you know how it pans out.

cheers,
whey
Reply With Quote
  #8  
Old 12-18-2008, 03:16 PM
whey whey is offline
Member
 
Join Date: Dec 2008
Posts: 14
Having another error (had to reinstall the webserver). now the site is just giving me the "Your PHP installation appears to be missing the MySQL" error.

I fixed this last time with something like '--with-mysql' but I forget what to do.
Reply With Quote
  #9  
Old 12-18-2008, 04:27 PM
kuts kuts is offline
Member
 
Join Date: Oct 2007
Posts: 49
build php via LiteSpeed panel with '--with-mysql'

like

./configure '--with-mysql=/usr', etc. etc.
Reply With Quote
  #10  
Old 12-18-2008, 08:30 PM
whey whey is offline
Member
 
Join Date: Dec 2008
Posts: 14
bingo,

cheers.

Back to the same problem as the initial part of the post. But my virtual host won't allow me to make changes (ie enable htaccess and audo indexing).

Why would this be? Did not happen the last time. (ie. none of these properties can change)


Last edited by whey; 12-18-2008 at 11:22 PM..
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 10:54 AM.



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