Extension and IIS7 URL rewrite

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Scam Warning
Post Reply
Tecwar
Registered User
Posts: 42
Joined: Mon Jun 25, 2007 4:45 pm

Extension and IIS7 URL rewrite

Post by Tecwar » Sat Nov 15, 2014 9:34 pm

hi, i have a problem with the app.php
with: app.php/extname = work
with: /extname = 404 error

have some code for web.config found

Code: Select all

<rewrite>
        <rules>
		<rule name="extname" stopProcessing="true">
			<match url="extname" />
			<action type="Rewrite" url="app.php/extname" appendQueryString="true" />
		</rule>
	</rules>
</rewrite>
but no loading images,css and js form template include.

can some help me
thx

Tecwar
Registered User
Posts: 42
Joined: Mon Jun 25, 2007 4:45 pm

Re: Extension and IIS7 URL rewrite

Post by Tecwar » Sun Nov 16, 2014 10:47 am

hi,

have found solution^^ is work

Code: Select all

    <rewrite>
        <rules>
            <rule name="ext rules" stopProcessing="true">
                <match url="^(.*)$" ignoreCase="true" />
                <conditions>
                    <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
                    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
                </conditions>

                	<action type="Rewrite" url="app.php"  appendQueryString="true" />
            </rule>
        </rules>
    </rewrite>

Post Reply

Return to “Extension Requests”