Results 1 to 3 of 3

Modifying lighttpd rewrite rules.. conflicting with mod_alias.

This is a discussion on Modifying lighttpd rewrite rules.. conflicting with mod_alias. within the Troubleshooting forums, part of the vBSEO SEO Plugin category; First off, the migration of vBulletin/ vBSEO from Apache to lighttpd was flawless. You guys did a great job ensure ...

  1. #1
    Junior Member
    Real Name
    magnus
    Join Date
    Oct 2006
    Posts
    13
    Liked
    0 times

    Modifying lighttpd rewrite rules.. conflicting with mod_alias.

    First off, the migration of vBulletin/vBSEO from Apache to lighttpd was flawless. You guys did a great job ensure cross httpd compatibility.

    The only 'hiccup' I've come across is having my rewrite rules trump my aliases. For example, if I try to access http://domain/webmail, vBSEO will rewrite me back to root.

    I found the offending line, and when commented out, everything works fine:
    Code:
    "^/(.+)$" => "/vbseo.php?vbseourl=$1"
    My question is, will commenting out this line have unforseen repercussions? Or, am I going about this the wrong way and overlooking an even easier solution?

    Thanks!

    * Edit: Ok, I was wrong. Everything doesn't work fine. Apparently, commenting out that line causes vBSEO to break. However, my question still stands..

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    Hello,

    you should add "webmail" folder to the exclusion list like:
    Code:
    "^(/(webmail|admincp|modcp|clientscript|cpstyles|images)/.*)$" => "$1",

  3. #3
    Junior Member
    Real Name
    magnus
    Join Date
    Oct 2006
    Posts
    13
    Liked
    0 times
    Oleg, as usual -- you nailed it.

    Thanks again!

    As a side note, so far, I'm blown away by lighttpd. Using lighttpd + fastcgi + xcache -- this thing screams.

Similar Threads

  1. Syntax for Custom Rewrite Rules
    By Joe Ward in forum Custom Rewrite Rules
    Replies: 33
    Last Post: 02-10-2011, 08:49 PM
  2. vBSEO 2.0 RC7 Released
    By Juan Muriente in forum vBSEO Announcements
    Replies: 17
    Last Post: 09-08-2005, 11:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •