I need to convert this code to web.config file. Plz Help..
#Fix Rewrite
Options -Multiviews
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Rewriterule ^(.*)$ $1.php [L,QSA]
I need to convert this code to web.config file. Plz Help..
#Fix Rewrite
Options -Multiviews
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Rewriterule ^(.*)$ $1.php [L,QSA]
Does your web.config allow rewrite rules then? What are you trying to convert this to, IIS? Are you using IIS URL Rewrite?
I am trying to convert this piece of code to IIS.
@pritaeas .. thanks.. it solved my problem.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.