Find Jobs
Hire Freelancers

Convert .htaccess mod_rewrite rules to httpd.conf

$30-50 USD

処理中
投稿日: 14年以上前

$30-50 USD

完了時にお支払い
I have an .htacccess file in a subdirectory of my web application, /help/. ? For security reasons, I can't use .htaccess so I need the rules to be modified to work in the [login to view URL] file instead. ## Deliverables I have an .htaccess file designed to create SEO friendly URLs for a subdirectory that contains wiki software on my site. ? Unfortunately I can't use .htaccess files in my environment and I need the rules converted to run in [login to view URL] instead. Here are the rules I need converted: * * * RewriteEngine on #if this call related to adminstrators or non rewrite folders, you can add more here. RewriteCond %{REQUEST_URI} ^/(.*(CFIDE|cfide|CFFormGateway|jrunscripts|railo-context|fckeditor)).*$ RewriteRule ^(.*)$ - [NC,L] #dealing with flash / flex communication RewriteCond %{REQUEST_URI} ^/(.*(flashservices|flex2gateway|flex-remoting)).*$ RewriteRule ^(.*)$ - [NC,L] #Images, css, javascript and docs, add your own extensions if needed. RewriteCond %{REQUEST_URI} \.(bmp|gif|jpe?g|png|css|js|txt|pdf|doc|xls|xml)$ RewriteRule ^(.*)$ - [NC,L] #The ColdBox [login to view URL]{path_info} rules. RewriteRule ^$ [login to view URL] [QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ [login to view URL]%{REQUEST_URI} [QSA,L] * * * They need to work inside this Apache VirtualHost container without impacting any other rewrite rules: * * * Listen [login to view URL] NameVirtualHost [login to view URL] <VirtualHost [login to view URL]> ? ? ServerName [login to view URL] ? ? ServerAlias [login to view URL] ? ? ? ? ? DocumentRoot /var/www/pukka/prod ? ? ? ? ? <Directory /var/www/pukka/prod> ? ? ? ? ? ? ? ? ? Options -Indexes -Includes -ExecCGI +FollowSymLinks ? ? ? ? ? ? ? ? ? AllowOverride All ? ? ? ? ? ? ? ? ? Allow from all ? ? ? ? ? </Directory> ? ? ? ? ? # CDN ? ? ? ? ? Alias /gfx "/var/www/pukka/cdn/gfx" ? ? ? ? ? <Location /gfx> ? ? ? ? ? ? ExpiresActive On ? ? ? ? ? ? ExpiresDefault "access plus 6 months" ? ? ? ? ? </Location> ? ? ? ? ? # start mod_rewrite ? ? ? ? ? RewriteEngine On ? ? ? ? ? # canoncalize the /[login to view URL]'s to / for SEO purposes ? ? ? ? ? RewriteRule ^/[login to view URL]$ / [NC,R=permanent,L] ? ? ? ? ? RewriteRule ^/em360/[login to view URL]$ /em360/ [NC,R=permanent,L] ? ? ? ? ? # mod-rewrite to handle canonical issues ? ? ? ? ? RewriteCond %{HTTP_HOST} ? !^www\.site\.com [NC] ? ? ? ? ? RewriteCond %{HTTP_HOST} ? !^$ ? ? ? ? ? RewriteRule ^/(.*) ? ? ? ? [login to view URL]$1 [L,R=permanent] ? ? ? ? ? # any internal pages we want to redirect besides home? ? ? ? ? ? RewriteRule ^/pmp(.*) /em360/[login to view URL] [NC,R=permanent,L] ? ? ? ? ? RewriteRule ? ^/pap/[login to view URL](.*) /pap/registration/[login to view URL]$1 [R=permanent,L] ? ? ? ? ? # protect non-web-accessible files ? ? ? ? ? RewriteRule ^/(dir1/|dir2/)?controller / [NC,R=permanent,L] ? ? ? ? ? # to stop annoying messages from CAST sql injection ? ? ? ? ? RewriteCond %{QUERY_STRING} ? ^.*(cast|declare|md5|benchmark).* [NC] ? ? ? ? ? RewriteRule . - [F] ? ? ? ? ? # disable dummy connections ? ? ? ? ? RewriteCond %(HTTP_USER_AGENT) ^.*internal\ dummy\ connection.* [NC] ? ? ? ? ? RewriteRule .* - [F,L] </VirtualHost> * * *
プロジェクト ID: 2851918

プロジェクトについて

5個の提案
リモートプロジェクト
アクティブ 15年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
See private message.
$38.25 USD 3日以内
5.0 (7 レビュー)
3.8
3.8
この仕事に5人のフリーランサーが、平均$33 USDで入札しています
ユーザーアバター
See private message.
$17 USD 3日以内
4.8 (10 レビュー)
3.2
3.2
ユーザーアバター
See private message.
$42.50 USD 3日以内
5.0 (2 レビュー)
2.0
2.0
ユーザーアバター
See private message.
$25.50 USD 3日以内
5.0 (3 レビュー)
1.8
1.8
ユーザーアバター
See private message.
$42.50 USD 3日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

UNITED STATESのフラグ
United States
5.0
1
メンバー登録日:8月 26, 2009

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。