Showing posts with label server. Show all posts
Showing posts with label server. Show all posts

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/

Saturday, June 13, 2009

iis 7.0, phpmyadmin, folder

cannot access phpmyadmin folder in inetpub.  keep notifying error 500. using windows server 2008

this post have very good step by step guide on solving it.

some summary from the post:
0. php 5.2.3

1. install mysql-essential-5.0.24a-win32.msi

2. extract phpMyAdmin-2.8.2.2.zip to D:\inetpub\wwwroot\phpmyadmin

3. start - run - inetmgr - default web site - right-click phpmyadmin - convert to application

4. php.ini updates:

extension_dir = "d:\php\ext"

uncomment extensions: php_mbstring.dll, php_mysql.dll

session.save_path = "D:\temp\phpsessions\phpmyadmin"

5. create D:\temp\phpsessions\phpmyadmin, give "network service" full access

6. update config: D:\inetpub\wwwroot\phpmyadmin>type config.inc.php

<?php

$cfg['blowfish_secret'] = 'ba17c1ec07d65003';  // use here a value of your choice

$i=0;

$i++;

$cfg['Servers'][$i]['auth_type']     = 'cookie';

?>

i think the most important part of solving server error while accessing folder is step 3. by converting the folder to application
0. php 5.2.3

1. install mysql-essential-5.0.24a-win32.msi

2. extract phpMyAdmin-2.8.2.2.zip to D:\inetpub\wwwroot\phpmyadmin

3. start - run - inetmgr - default web site - right-click phpmyadmin - convert to application

4. php.ini updates:

extension_dir = "d:\php\ext"

uncomment extensions: php_mbstring.dll, php_mysql.dll

session.save_path = "D:\temp\phpsessions\phpmyadmin"

5. create D:\temp\phpsessions\phpmyadmin, give "network service" full access

6. update config: D:\inetpub\wwwroot\phpmyadmin>type config.inc.php

<?php

$cfg['blowfish_secret'] = 'ba17c1ec07d65003';  // use here a value of your choice

$i=0;

$i++;

$cfg['Servers'][$i]['auth_type']     = 'cookie';

?>

iis7.0, windows server 2008 with php

i was setting up iis in the server and would like to run php.

this post gave me a lot of help.

phpmyadmin, mysql and iis 7.5

phpmyadmin, mysql, php and iis 7.5
os : windows 7

- enable php_mysql.dll in php.ini
- enable php_mcrypt.dll
- install mysql, configure
- under phpmyadmin config.sample.inc -> $cfg['blowfish_secret'] = '123456';  123456  as your password

ftp 7.5, iis 7.0 & windows server 2008

faced difficulties when upgrading to ftp 7.5, can't communicate with ftp server.

read up this post , and it provides me step by step guide.  installation guide here

however, face an issue on "connection closed by remote host", then read up this post, solved my issue 2.

finally it comes to ssl part, and this post, gives comprehensive guide to me.

Thursday, June 11, 2009

some guide for xampp

setting up virutal host -> details

for setting virtual host, need to change things in these 2 directories for windows environment
c:\windows\system32\drivers\etc\hosts
your directory\xampp\apache\conf\extra\httpd-vhosts.conf