Results 1 to 7 of 7

Thread: Nginx URL rewrite :)

  1. #1

    Default Nginx URL rewrite :)

    Hi , I have finally done the nginx rewrite code..

    but now only for show and view ..doing gallaery..
    those who want , post here

  2. #2

    Default

    yes please

  3. #3

    Default

    Quote Originally Posted by kuaza View Post
    yes please

    Code:
                 rewrite ^/view\.php/(.*)$ /view.php?img=$1 last;
                 rewrite ^/show\.php/(.*)$ /show.php?img=$1 last;

  4. #4

    Default

    Quote Originally Posted by d35i View Post
    Code:
                 rewrite ^/view\.php/(.*)$ /view.php?img=$1 last;
                 rewrite ^/show\.php/(.*)$ /show.php?img=$1 last;
    thanx kuzen and please for out.php code write me

    edit: and vhost.conf how edit ?

  5. #5

    Default

    As for me - using this

    Code:
    rewrite "^/out\.php/([a-z]{1})(.*)$" /out.php?$1=$2&$args last;
    rewrite ^/show\.php/(.*)$ /show.php?img=$1 last;
    rewrite ^/view\.php/(.*)$ /view.php?img=$1 last;
    rewrite "^/images\.php/([a-z]{1})(.*)$" /images.php?$1=$2&$args last;

  6. #6

    Default

    here install nginx las version: http://www.makaleci.com/centos-ve-cp...-kurulumu.html

    normal apache .hteccess rules yes..

  7. #7

    Default

    warning, site is not in english

Similar Threads

  1. AIH for nginx
    By Rollex in forum Free Trial Support
    Replies: 2
    Last Post: 05-04-2010, 09:30 AM
  2. Lighttpd and Nginx
    By d35i in forum Suggestions & Feature Request
    Replies: 9
    Last Post: 04-11-2010, 11:00 PM
  3. MFHS on nginx
    By adrideh in forum Pre-Sales Questions
    Replies: 5
    Last Post: 07-15-2009, 02:33 AM
  4. Our Forum Now Drived By SEO Rewrite Module
    By yabsoft in forum Announcements
    Replies: 0
    Last Post: 01-20-2009, 05:37 PM
  5. Software error: can't open progress_file (nginx)
    By roflkartoffel1 in forum Troubleshooting And Problems
    Replies: 2
    Last Post: 06-27-2008, 08:17 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
  •