Showing posts with label IIS. Show all posts
Showing posts with label IIS. Show all posts

Friday, November 6, 2009

Backup, Unistall IIS 7

Backup
> %windir%\system32\inetsrv\appcmd.exe add backup "My Backup Name"

> %windir%\system32\inetsrv\appcmd.exe restore backup "My Backup Name"

> %windir%\system32\inetsrv\appcmd.exe delete backup "My Backup Name"

\inetpub\history\cfgHistory_NNNNNNNNNN
copy the applicationHost.config file into it's proper place: \windows\sytem32\inetsrv\config

> %windir%\system32\inetsrv\appcmd.exe list backup

source:http://blogs.iis.net/bills/archive/2008/03/24/how-to-backup-restore-iis7-configuration.aspx

Unistall IIS7 in vista
c:\windows\system32>pkgmgr.exe /norestart /uu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-ApplicationDevelopment;IIS-ASP;IIS-ISAPIExtensions;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Security;IIS-RequestFiltering;IIS-HttpCompressionStatic;IIS-WebServerManagementTools;IIS-ManagementConsole;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

source:http://stackoverflow.com/questions/1189636/how-to-uninstall-iis-7-under-wow64

Sunday, July 12, 2009

image upload error, iis 7.5, drupal 6

problem: using drupal 6, iis 7.5 on windows

enabled image module, however, there is a file upload error displaying extension not supported.

solved by

Changing line 117 in include/menu.inc:
if (!is_file($file)) {
to:
if (!is_file($file) && !is_uploaded_file($file)) {

source

IIS 7.5, Drupal 6

problem : unable to rewrite url with IIS 7.5, with drupal 6, os: windows 7

according to this article, url rewrite should be available in IIS 7.5

this article explains request filtering

can install url rewrite module for iis 7 download here

while installing may fail, solve by
msiexec /i rewrite_x86_rtw.msi /l* install.log NETFRAMEWORK35_SP_LEVEL=0
source

Wednesday, July 1, 2009

IIS 7.0, FTP with SSL

client - filezilla

server - ws 08

FTP service - ftp 7.5

set up ssl according to this article

set up filezilla according to this article

solve error 530 and user isolation with this article

find netbios name with cmd -> nbtstat -n -> source

Monday, June 29, 2009

clearn url for drupal 6 on iis 7

copy this code into drupal folder -> web.config


<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Drupal Clean URLs" stopProcessing="true">
<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?q={R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>


source

Friday, June 26, 2009

windows server 2008 remote management

scenario : remote server control from windows 7 to windows server 2008

this article helps to set windows server 2008

the command to type into the cmd of win server 08 : Netsh advfirewall firewall set rule group=”<rulegroup>” new enable=yes

this is download link of remote management administration tools

Settings on php in iis 7.0, ws08 with isapi

setting to load php.ini in c:\

http://bugs.php.net/bug.php?id=37919

setting environment in ws08

http://technet.microsoft.com/en-us/library/cc772047.aspx

setting iis 7 and access denied

http://mvolo.com/blogs/serverside/archive/2007/07/12/Creating-IIS7-sites_2C00_-applications_2C00_-and-virtual-directories.aspx#createsite

account iusr iis_iusr

http://learn.iis.net/page.aspx/140/understanding-the-built-in-user-and-group-accounts-in-iis-70/