areff 6 ارسال شده در آبان 93 گزارش بازنشر ارسال شده در آبان 93 سلام، میخوامDomain.com/Examlpeهرچی بعد / اومد RewriteRule بشه به Index.php?link=Exampleکسی میتونه بنویسه ؟ نقل قول لینک به ارسال
Parsa 23463 ارسال شده در آبان 93 گزارش بازنشر ارسال شده در آبان 93 یک نمونه:# Necessary to prevent problems when using a controller named "index" and having a root index.php# more here: http://httpd.apache.org/docs/2.2/content-negotiation.htmlOptions -MultiViews# Activates URL rewriting (like myproject.com/controller/action/1/2/3)RewriteEngine On# Disallows others to look directly into /public/ folderOptions -Indexes# General rewrite rulesRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-lRewriteRule ^(.+)$ index.php?url=$1 [QSA,L] 3 نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .