Hi after the trails & tribulations of upgrading to 2008 iis7 i'm finally getting to end of my goals - install wordpress blog - completed install knowledgebase script - problems The kb script comes with htaccess rewrite so after install I log into iis7 manager, go to the folder containg the kb script, go to url rewrite, import htaccess file to create web.config file. Now when I go to the index page the url's are seo friendly BUT when i go to and click on a test article i get the following error - "Access Denied" eg click on a test article here if i go to a category i cannot enter it eg this page it seems to loop back to it's self! notes: if i switch off the seo feature in the script all works fine - except for seo friendly urls of course the developers recommend mod rewrite module by helicon installed on the server but cannot suggest a solution at present although they wish to view the web.config file created - how do I extract the web.config file to se the configuration settings? here is the htaccess file config in its original form ( before import) according to url rewrite 19 rules have been imported Options +FollowSymLinks All -Indexes RewriteEngine on RewriteRule ^article-(.*)\.html$ article.php?id=$1 RewriteRule ^category-(.*)\.html$ category.php?id=$1 RewriteRule ^news-(.*)\.html$ news.php?id=$1 RewriteCond %{REQUEST_URI} !article\.php RewriteRule ^secure(.*)\.html$ article.php?$1 [L] RewriteCond %{REQUEST_URI} !category\.php RewriteRule ^secure(.*)/$ category.php?$1 [L] RewriteCond %{REQUEST_URI} !article\.php RewriteRule ^article(.*)\.html$ article.php?$1 [L] RewriteCond %{REQUEST_URI} !category\.php RewriteRule ^category(.*)$ category.php?$1 [L] RewriteCond %{REQUEST_URI} !news\.php RewriteRule ^news(.*)$ news.php?$1 [L] RewriteRule email-(.*)\.html$ email.php?id=$1 RewriteRule print-(.*)\.html$ print.php?id=$1 RewriteRule subscribe-(.*)\.html$ subscribe.php?id=$1 RewriteRule pdf-(.*)\.html$ export.php?type=PDF&id=$1 RewriteRule doc-(.*)\.html$ export.php?type=DOC&id=$1 RewriteRule rss-cats-(.*)\.html$ rss.php?mode=category&id=$1 RewriteRule rss-related-(.*)\.html$ rss.php?mode=related&id=$1 RewriteRule rss-featured.html rss.php?mode=featured RewriteRule rss-recent.html rss.php?mode=recent RewriteRule rss-popular.html rss.php?mode=popular RewriteRule rss-rated.html rss.php?mode=rated AddType application/vnd.ms-word.document.macroEnabled.12 .docm AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx AddType application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx AddType application/vnd.ms-powerpoint.template.macroEnabled.12 potm AddType application/vnd.openxmlformats-officedocument.presentationml.template potx AddType application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam AddType application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm AddType application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx AddType application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm AddType application/vnd.openxmlformats-officedocument.presentationml.presentation pptx AddType application/vnd.ms-excel.addin.macroEnabled.12 xlam AddType application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb AddType application/vnd.ms-excel.sheet.macroEnabled.12 xlsm AddType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx AddType application/vnd.ms-excel.template.macroEnabled.12 xltm AddType application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx I would appreciate any pointers Many Thanks in advance Nelly
All of these settings are written to the web.config. If you're hosting the application in a subfolder, try looking in the folder it's placed in. It's likely to be there. If you already had a web.config, all IIS settings will be added on to it.
thanks Jose for the web config location here is the code: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <outboundRules> <preConditions> <preCondition name="ResponseIsHtml1"> <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" /> </preCondition> </preConditions> </outboundRules> <rules> <rule name="Imported Rule 1"> <match url="^article-(.*)\.html$" ignoreCase="false" /> <action type="Rewrite" url="article.php?id={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 2"> <match url="^category-(.*)\.html$" ignoreCase="false" /> <action type="Rewrite" url="category.php?id={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 3"> <match url="^news-(.*)\.html$" ignoreCase="false" /> <action type="Rewrite" url="news.php?id={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 4" stopProcessing="true"> <match url="^secure(.*)\.html$" ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="{URL}" pattern="article\.php" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="article.php?{R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 5" stopProcessing="true"> <match url="^secure(.*)/$" ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="{URL}" pattern="category\.php" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="category.php?{R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 6" stopProcessing="true"> <match url="^article(.*)\.html$" ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="{URL}" pattern="article\.php" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="article.php?{R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 7" stopProcessing="true"> <match url="^category(.*)$" ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="{URL}" pattern="category\.php" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="category.php?{R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 8" stopProcessing="true"> <match url="^news(.*)$" ignoreCase="false" /> <conditions logicalGrouping="MatchAll"> <add input="{URL}" pattern="news\.php" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="news.php?{R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 9"> <match url="email-(.*)\.html$" ignoreCase="false" /> <action type="Rewrite" url="email.php?id={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 10"> <match url="print-(.*)\.html$" ignoreCase="false" /> <action type="Rewrite" url="print.php?id={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 11"> <match url="subscribe-(.*)\.html$" ignoreCase="false" /> <action type="Rewrite" url="subscribe.php?id={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 12"> <match url="pdf-(.*)\.html$" ignoreCase="false" /> <action type="Rewrite" url="export.php?type=PDF&id={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 13"> <match url="doc-(.*)\.html$" ignoreCase="false" /> <action type="Rewrite" url="export.php?type=DOC&id={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 14"> <match url="rss-cats-(.*)\.html$" ignoreCase="false" /> <action type="Rewrite" url="rss.php?mode=category&id={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 15"> <match url="rss-related-(.*)\.html$" ignoreCase="false" /> <action type="Rewrite" url="rss.php?mode=related&id={R:1}" appendQueryString="false" /> </rule> <rule name="Imported Rule 16"> <match url="rss-featured.html" ignoreCase="false" /> <action type="Rewrite" url="rss.php?mode=featured" appendQueryString="false" /> </rule> <rule name="Imported Rule 17"> <match url="rss-recent.html" ignoreCase="false" /> <action type="Rewrite" url="rss.php?mode=recent" appendQueryString="false" /> </rule> <rule name="Imported Rule 18"> <match url="rss-popular.html" ignoreCase="false" /> <action type="Rewrite" url="rss.php?mode=popular" appendQueryString="false" /> </rule> <rule name="Imported Rule 19"> <match url="rss-rated.html" ignoreCase="false" /> <action type="Rewrite" url="rss.php?mode=rated" appendQueryString="false" /> </rule> </rules> </rewrite> </system.webServer> </configuration> Thanks in advance Nelly
Hello, I have recently been using the module webform. I have installed it just fine, inside the admin I have set up the forms I want to use. The problem I have is in actually outputing the form in the HTML. In the node.tpl.template inside the $node or the $content there is no sign of the actual HTML code of the form.