Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl Masterremoving page extension resulting in 404removing page extension resulting in 404
Previous
 
Next
New Post
1/15/2010 6:40 PM
 

I'm getting an IIS 404 when I navigate to a page without extensions on my site. I'm using the trial version on a client's development site (awaiting license info email) - should that mess with things?

I feel like I have everything set up properly, and repeating the same steps locally (only using IIS7) and it worked perfectly on the first try.

Here is all the background information about what I've done so far:

http://serverfault.com/questions/102695/iis6-wildcard-mapping-to-asp-net-no-file-extension-results-in-iis-404

Any thoughts?

 
New Post
1/16/2010 12:36 AM
 

Ian - what does the 404 look like - is it an IIS 404, or an asp.net 404?

Does the url work if you add the .aspx  on the end of it?  If this is the case, then it's definitely the IIS mapping. 

Also, just to confirm - you haven't checekd the 'verify file exists' checkbox?

I did send off the licence recently - let me know if you didn't receive it.

 
New Post
1/16/2010 5:59 PM
 

 Hey Bruce,

The 404 looks like this (it is an IIS 404):

 HTTP/1.1 404 Not Found

Content-Length: 1635

Content-Type: text/html

Server: Microsoft-IIS/6.0

X-Powered-By: ASP.NET

Date: Thu, 14 Jan 2010 15:04:49 GMT

Yes, the URL works if you add the .aspx to the end of it.

I have verified that the "verify file exists" checkbox is not checked.

This step in IIS seems like a very very simple step and it just plain isn't working for me. This is an IIS6/Windows Server 2003 machine. I got this feature working locally on my Windows7 machine in less than 5 minutes, yet I've spent hours trying to figure out why it isn't working on this machine.

Do you know of any IIS settings or server settings that can interfere with this wildcard extension? I'm at a loss here as to why IIS isn't forwarding the request to the application and letting the httphandler have at it....

Thanks

Ian

 
New Post
1/17/2010 12:40 AM
 

Ok - so maybe the problem isn't with the iis mapping but with the configuration.  Can you check your web.config to see that the configured friendly url provider is correct?  And if so, does it have the 'usePageExtension='never' setting switched on?

 
New Post
1/17/2010 1:40 AM
 

 I should have posted this earlier:

<friendlyUrl defaultProvider="iFinity.UrlMaster">

      <providers>

        <clear />

        <add name="iFinity.UrlMaster" type="iFinity.DNN.Modules.UrlMaster.DNNFriendlyUrlProvider, iFinity.UrlMaster.FriendlyUrlProvider" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlFormat="HumanFriendly" redirectUnfriendly="true" doNotRewriteRegex="/DesktopModules/|/Providers/|/LinkClick\.aspx" doNotRedirectRegex="/LinkClick\.aspx|/Providers/|/DesktopModules/" doNotRedirectSecureRegex="" doNotIncludeInPath="" pageExtensionUsage="Never" parameterHandling="OrderedParameters" ignoreFileTypesRegex="(?&lt;!linkclick\.aspx.+)(?:\.pdf$|\.gif$|\.png($|\?)|\.css$|\.js($|\?)|\.jpg$|\.html$|\.htm$|\.axd($|\?)|\.swf$|\.flv$|\.ico$|\.xml($|\?))" checkForDupUrls="true" forceLowerCase="false" spaceEncodingValue="+" redirectWrongCase="false" rebaseClientPath="false" autoAsciiConvert="false" triggerDictionaryRebuildRegex="&amp;ctl=tab|/ctl/tab|/Admin/Tabs/|/ctl/Signup" useBaseFriendlyUrls="/SearchResults;/ModuleDefinitions;" deletedTabHandling="Do301RedirectToPortalHome" doNotRedirect="" sslClientRedirect="True" logCacheMessages="False" cachePersistRestart="False" cacheTime="1440" />

        <add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" />

      </providers>

    </friendlyUrl>

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl Masterremoving page extension resulting in 404removing page extension resulting in 404


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.

Please note : If you are posting a new thread for the Url Master module, please include the following information where applicable:

- Url Master version

- DotNetNuke version

- Example Url where possible

- If there is an error, please post the full error text and/or stack trace (from the DotNetNuke event log).