nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Lighttpd rewrite problem

This is a discussion on Lighttpd rewrite problem within the Web servers forums, part of the Mastering Servers category; Hi, I moved from apache to lighttpd everything seems to work but I've a problem with my rewrite, when I ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 15-10-2008, 08:22 PM
Junior Member
User
 
Join Date: Oct 2008
OS: Debian
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Talon is on a distinguished road
Default Lighttpd rewrite problem

Hi,

I moved from apache to lighttpd everything seems to work but I've a problem with my rewrite, when I try to acess :

?????

The page is not loading I'm sure it's a problem in my rewrite config,

here is my config:

$HTTP["host"] =~ "coffee-paste\.com" {
simple-vhost.default-host = "coffee-paste.com"
include "wpmu-rewrite.conf"
}

And my rewrite file:

server.error-handler-404 = "/index.php"
url.rewrite-once = (
"^/(.*/)?files/$" => "/index.php",
"^/(.*/)?files/(.*)" => "/wp-content/blogs.php?file=$2",
"^(/wp-admin/.*)" => "$1",
"^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "/$2",
"^/([_0-9a-zA-Z-]+/)?(.*\.php)$" => "/$2",
)

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 16-10-2008, 02:17 PM
Junior Member
User
 
Join Date: Oct 2008
OS: Debian
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Talon is on a distinguished road
Default

Someone? Please help.
Reply With Quote
  #3 (permalink)  
Old 16-10-2008, 07:12 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Is this related to wordpress seo?
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #4 (permalink)  
Old 16-10-2008, 07:19 PM
Junior Member
User
 
Join Date: Oct 2008
OS: Debian
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Talon is on a distinguished road
Default

Hi,

Thank you for your reply yes, I changed to link structure to be more search engine friendly.
Reply With Quote
  #5 (permalink)  
Old 16-10-2008, 10:08 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Following article shows required setup for wordpress:

Lighttpd and wordpress setup clean SEO friendly URLs
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Lighttpd Subdomain Problem Mental Lexicon Web servers 2 24-07-2008 06:13 PM
Lighttpd Gallery2 URL Rewrite (.htaccess) SEO Rules rootadmin Web servers 2 22-06-2008 06:57 PM
Redirect + Rewrite Problem in Lighttpd Web Server Lamba Web servers 2 19-05-2008 10:50 PM
Redirect + Rewrite Problem in Lighttpd Lizard King Web servers 4 17-07-2007 09:44 AM
script to rewrite data. kavi Shell scripting 3 18-09-2005 12:13 AM


All times are GMT +5.5. The time now is 07:06 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38