I gang

nginx specialist

hi i need a nginx specialist who can convert .htaccess to nginx conf file

apache .htaccess

<IfModule mod_rewrite.c>

RewriteEngine on

Options +FollowSymlinks

RewriteBase /

RewriteRule \.htaccess - [F]

RewriteRule (.*)(style\.css)$ $2 [L]

RewriteRule (.*)(lightbox\.css)$ $2 [L]

RewriteRule (.*)(userdata\/)(.*)$ $2$3 [QSA,L]

RewriteRule (.*)(maps\/)(.*)$ $2$3 [QSA,L]

RewriteRule (.*)(test\/)(.*)$ $2$3 [QSA,L]

RewriteRule ^(.*)(index\.php)(\/?)(.*)$ [url removed, login to view]$4 [QSA,L]

RewriteRule (.*)(install\/)(.*)$ $2$3 [QSA,L]

RewriteRule (.*)(addon\/)(.*)$ $2$3 [QSA,L]

RewriteRule (.*)(cron\/)(.*)$ $2$3 [QSA,L]

RewriteRule (.*)(js\/)(.*)(\.js)$ $2$3$4 [L]

RewriteRule (.*)(images\/)(.*)(\.)(gif|jpe?g|png|ico)$ $2$3$4$5 [L]

RewriteCond %{request_uri} !^index\.php

RewriteRule ^(.*)$ [url removed, login to view]$1 [QSA,L]

</IfModule>

it try this but no luck some of command couldnt converted

myconf file is

server {

listen 81;

server_name *.[url removed, login to view];

access_log /var/log/[url removed, login to view] main;

error_log /var/log/[url removed, login to view];

root /home/mysite/www;

index [url removed, login to view] [url removed, login to view];

rewrite /(.*)(style\.css)$ /$2 last;

rewrite /(.*)(lightbox\.css)$ /$2 last;

rewrite /(.*)(userdata\/)(.*)$ /$2$3 last;

rewrite /(.*)(maps\/)(.*)$ /$2$3 last;

rewrite /(.*)(test\/)(.*)$ /$2$3 last;

rewrite ^/(.*)(index\.php)(\/?)(.*)$ /[url removed, login to view]$4 last;

rewrite /(.*)(install\/)(.*)$ /$2$3 last;

rewrite /(.*)(addon\/)(.*)$ /$2$3 last;

rewrite /(.*)(cron\/)(.*)$ /$2$3 last;

rewrite /(.*)(js\/)(.*)(\.js)$ /$2$3$4 last;

rewrite /(.*)(images\/)(.*)(\.)(gif|jpe?g|png|ico)$ /$2$3$4$5 last;

rewrite ^/(.*)$ /[url removed, login to view]$1 last;

location / {

try_files $uri $uri/ /[url removed, login to view]$request_uri;

}

location ~ \.php$ {

root html;

fastcgi_pass 127.0.0.1:9000;

fastcgi_index [url removed, login to view];

fastcgi_param SCRIPT_FILENAME /home/mysite/www$fastcgi_script_name;

include fastcgi_params;

}

}

Færdigheder: Nginx

Se mere: nginx rewriterule, nginx specialist, test js, nginx test, html 5 command, html 4.01 test, WS, specialist, nginx, it specialist, ICO, html 5 maps, css specialist, cron command, apache to nginx, nginx install php, htaccess apache, nginx apache convert, www 301 index, htaccess mod_rewrite, can convert convert png, apache test page html, php rewriteengine, htaccess rewriteengine, apache 301

Om arbejdsgiveren:
( 93 bedømmelser ) Sydney, Australia

Projekt-ID: #934418

Tildelt til:

$75 USD in 0 dage
(2 bedømmelser)
3.3