Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2011
    Posts
    67

    IP.Content NGINX URL re-write

    Hi Guys,

    I'm having an issue with nginx rewrite for IP.Content here is my current conf file below can anyone spot anything wrong?
    http://pastebin.com/zxWd1Jy3

    Thanks,

    Tythus

  2. #2
    Quote Originally Posted by Tythus View Post
    I'm having an issue with nginx rewrite for IP.Content here is my current conf file below can anyone spot anything wrong?
    Your config us:

    rewrite ^ http://www.lordofthecraft.net$request_uri? permanent;

    which says to rewrite the regex "^" to "http://www.lordofthecraft.net$request_uri?"

    A tips is to use http://regexpal.com

    Anyway, the problem is that "^" is an invalid regex. You probably want ".*"

  3. #3
    You don't need two server { } blocks

  4. #4
    Join Date
    Jan 2011
    Posts
    67
    It's ok I figured out my issue already it was getting confused with things ending in .html etc and trying to server static content rather than the php content the only other thing I need to do is talk to the centminmod guy

Similar Threads

  1. Looking for 3 to 5 clients to write content for
    By padme in forum Employment / Job Offers
    Replies: 7
    Last Post: 09-23-2011, 02:52 AM
  2. Need content? We will write it! 6$ Per article
    By nicklfire in forum Other Offers & Requests
    Replies: 14
    Last Post: 09-22-2011, 01:03 PM
  3. Write content for my sites.
    By ozona in forum Employment / Job Offers
    Replies: 4
    Last Post: 12-17-2007, 03:02 PM
  4. Replies: 4
    Last Post: 08-21-2004, 04:15 AM

Posting Permissions

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