IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 3.00 average. Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 4th, 2010, 10:29 AM
christian_gnoth christian_gnoth is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2010
Posts: 2 christian_gnoth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 18 sec
Reputation Power: 0
Windows iis 7 - web.config file

Hello,
I am new to the windows web server and have not the knowledge of syntax for web.config file.

We have under Windows IIS7 an Wordpress installation and for that wordpres generated few lines for a web.config file.
Here is the content of the web.config file:

<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="wordpress" patternSyntax="Wildcard">
<match url="*" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

1. with this content our /stats directory and Webstats is no more accessible - we are getting an error 500.
In the stats directory is dynamically generated the reports and an index.php file is in this directory which points to the other files in the directory.

2. we need more rules to create some permanent redirect 301 for the following subfiles:

domain.com/article-details.php --------->>>>> domain.com
and
domain.com/content.php --------->>>>> domain.com

This two points we need some help.

Reply With Quote
  #2  
Old August 15th, 2010, 05:47 AM
HostingASPNet HostingASPNet is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2009
Posts: 165 HostingASPNet User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 1 h 25 m 52 sec
Reputation Power: 5
Hello,

The web.config version depends on the ASP.NET version. not on IIS/Windows version.

Regards
__________________
ASP.NET Web Hosting - Reliable ASP.NET hosting information.

Reply With Quote
  #3  
Old August 15th, 2010, 06:38 AM
christian_gnoth christian_gnoth is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2010
Posts: 2 christian_gnoth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 18 sec
Reputation Power: 0
Question

Quote:
Originally Posted by HostingASPNet
Hello,

The web.config version depends on the ASP.NET version. not on IIS/Windows version.

Regards


We have ASP.Net 2.0/3.0/3.5

Do you have an idea how to write a web.config file that the rewrite rules of wp are working and too the /stats directory in the root folder is accessible???

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Windows iis 7 - web.config file

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap