Sharing the Point

Office 365, SharePoint, Project Server – Support Blog

Archive for September, 2010

How to configure SSL(https) on IIS 7 with Self-signed Certificate

Posted by Ashraf on September 25, 2010

This post is moved to,

http://mroffice365.com/2010/09/how-to-configure-sslhttps-on-iis-7-with-self-signed-certificate/

Advertisements

Posted in System Administration, Windows Server | Tagged: , , | 1 Comment »

How to Configure IIS 7 and Tomcat Redirection on Windows Server 2008 (64 Bit)

Posted by Ashraf on September 20, 2010

Objective: To provide a Secure Server Environment and Running non IIS compatible extensions like jsp in IIS Web server.

Check Before you Start:

JDK 1.6
IIS 7.5
Tomcat 6.0.18
Isapi_redirect.dll (64bit) version 1.2.28

Steps to follow:

Install Jdk 6

Download and install JDK 6 with its default setup options.
Now, go to Computer>Properties>Advanced System Settings>Advanced Tab>Environment Variables

Set System Variables (JAVA_HOME and CATALINA_HOME)

Click New, enter name as JAVA_HOME and your jdk installation path as variable value; click OK.

set java_home variable

set java_home variable

Select PATH and click Edit. Add the java installation path after the current value with a semicolon (;). Click OK, when done.

set java path

set java path

Click New, enter name as CATALINA_HOME and your Tomcat installation path as variable value; click OK.

set catalina_home

set catalina_home

Install Tomcat 6.0.18

Install Tomcat with default settings and test running the URL as http://localhost:8080

tomcat running on port 8080

tomcat running on port 8080

Tomcat setup is working on port 8080.

Setting up Registry value

1. Download the isapi_redirect.dll from the Tomcat site for Windows Server 2008 R2 64 bit from the following URL.
http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/win64/jk-1.2.28/amd64/

2. Rename the isapi_redirect-1.2.28.dll to isapi_redirect.dll
3. Copy the isapi_redirect.dll to C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\bin\
4. Run Regedit as Administrator
Find the key [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\
Make one new key entry as “Jakarta Isapi Redirector” then another new key entry name “1.0” then under that make 6 new string values.

setup registray value for Isapi_Redirect dll

setup registray value for Isapi_Redirect dll

NOTE: If “Apache Software Foundation” folder does not exist in the hierarchy mention here then create the path manually. So, the hierarchy will resemble the following.
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0]

Registry Key  and  Value

@=

extension_uri = /jakarta/isapi_redirect.dll

log_file = C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\logs\isapi_redirect.log

log_level = error

worker_file = C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\conf\workers.properties.minimal

worker_mount_file = C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\conf\uriworkermap.properties

Install and Configure IIS Role

1. Add iis role

Add IIS Features

Add IIS Features

Add IIS Features

Add IIS Features

Click Next and Finish the installation.
You can check wheter the iis works or not by addressing your browser to http://localhost.

iis7 running at localhost

iis7 running at localhost

Now the IIS works fine, we will go to the next steps.

2. Setup isapi & cgi restriction at iis server

A. Open IIS Manager and Select Your Server
B. From the features view open ISAPI and CGI Restrictions, Click Add from the Actions bar

Setup isapi & cgi restriction

Setup isapi & cgi restriction

C. For ISAPI or CGI Path click the … Button and choose your isapi_redirect.dll file at your tomcat installation folder (C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\bin\).

Setup isapi & cgi restriction

Setup isapi & cgi restriction

D. In the Description Field write “isapi_redirect”
E. Tick the Allow extension path to execute and click OK.

3. Enable isapi filters at iis default website

F. Select Default Website and double click ISAPI Filters to open it. Click Add

Enable isapi filters at iis default website

Enable isapi filters at iis default website

G. Enter “jakarta” in the filter name And click …Button to to select the isapi_redirect.dll.

H. Click open to select the dll and Ok to close the window when done.

4. Creating Virtual directory and handler mappings

I. Right click to the Default website and choose Add Virtual Directory…

J. Enter “jakarta” in the Alias field and choose the path of the “isapi_redirect.dll” file (C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\bin\) as Physical path.

set virtual directory path

set virtual directory path

K. Click ok when done.
L. Now, Open Handler mappings by selecting the virtual directory “Jakarta”.

jakarta handler mapping

jakarta handler mapping

M. Select Edit Feature Permission from the Actions bar and Check All (Read, Script, and Execute) and click OK.

Creating properties file

Now create two properties FILE AS follows:
1. Create a file named “workers.properties.minimal” in the “conf” folder which you can find in the tomcat installation folder.
2. Insert the following lines into this file:

worker.list = worker1
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.type=ajp13

3. Create another file named “uriworkermap.properties” in the same directory. Insert this line and save.

/*=worker1

Test and Run

4. Restart the Tomcat Service and the IIS Web-Server

5. Test the configuration by trying to access the iis site(http://localhost), if you get Tomcat site then you are done successfully.

tomcat running at iis

tomcat running at iis

Hope this helps.

Posted in System Administration, Windows Server | Tagged: , , | 56 Comments »

Locate your favorites Menu and Toolbar at Office 2010

Posted by Ashraf on September 6, 2010

If you are new to Office 2010 and wondering where to find your favorites Menu and Toolbar then you can use this interactive learning tool from Microsoft. You can download and install the guide at your computer and also can obtain a printable version which shows the relevant Menu and toolbar in reference of the previous version of Office application you are using. To get started go to Use an interactive guide to find my commands and choose your Office application.

I have chosen InfoPath to find my menu and toolbar comparing Infopath 2007 with Infopath 2010. Enjoy!!!

interactive office 2010 guide

interactive office 2010 guide

Posted in InfoPath | Tagged: , , | 1 Comment »

Implementing a Document Management System with SharePoint :: Part 1

Posted by Ashraf on September 3, 2010

Installing Windows Server 2008 R2 (64Bit) Step by Step

Please check this post for preface on document management system. I am back with document management system part 1 today which is about installing of Windows server 2008.  Be sure that you have met the minimum requirements of this server software by clicking here.

Now follow these courses of action to install Windows Server 2008:

1. Insert the Windows Server 2008 installation media into your DVD drive. If you don’t have an installation DVD for Windows Server 2008, you can download one for free from Microsoft’s Windows 2008 Server Trial website.

2. When done Restart the computer.

Reboot windows
Reboot windows

3. Make your selection and press Next When prompted for an installation language and other regional options

select installation language
select installation language

4. Next, press Install Now to start the installation process.

click install now
click install now

5. Enter your Product ID in the next window, and if you want to automatically activate Windows the moment the installation finishes, click Next.

enter serial key
enter serial key

If you do not have the Product ID available right now, you can leave the box empty, and click Next. You will need to provide the Product ID later, after the server installation is over. Press No.

6. As you did not provide the correct ID, the installation process cannot determine what kind of Windows Server 2008 license you own, and therefore you will be prompted to select your correct version in the next screen.

select windows edition
select windows edition

7. If you provided the right Product ID, select the Full version of the right Windows version you’re prompted, and click Next.

select windows full version enterprise
select windows full version enterprise

8. Accept the license terms by clicking to select the check box and pressing next.

license terms
license terms

9. In the “Which type of installation do you want?” window, choose the only available option – Custom (Advanced).

choose custom installation
choose custom installation

10. In the “Where do you want to install Windows?”, if you’re installing the server on a regular IDE hard disk, click to select the first disk, usually Disk 0, and click Next.

select disk partition
select disk partition

You can also click Drive Options and manually create a partition on the destination hard disk.

11. The installation now begins, and copying the setup files from the DVD to the hard drive only takes about one or two minutes but extracting and uncompressing the files takes more. After 20/25 minutes, the operating system is installed.

The installation process will reboot your computer.

12. After the server reboots you’ll be prompted with the login screen. Press CTRL+ALT+DEL to log in.

logon
logon

13. Click on Other User.

select other user
select other user

14. The default Administrator is blank, so just type Administrator and press Enter.

change password
change password

15. You will be prompted to change the user’s password. You have no choice but to press Ok.

16. In the password changing dialog box, enter a complex password like “woRldCup2010!” but be sure you can remember it.

changing password
changing password

17. Now you’ll be prompted to accept the fact that the password had been changed. Press Ok.

windows password changed
windows password changed

18. Finally, the desktop appears and you’re logged on and can begin working. The initial server configuration will be prompted, and after performing some initial configuration tasks, you will be able to start working.

Next, I will come up with active directory installation and configuration on windows 2008 R2. Keep in touch with my blog.

For Official Microsoft information on Windows Server 2008, see the Windows Server 2008 homepage.

Posted in SharePoint, Windows Server | Tagged: , , , | 2 Comments »

Backup and Restore IIS 7 Configuration – How To

Posted by Ashraf on September 1, 2010

This post is moved to,

http://mroffice365.com/2010/09/backup-and-restore-iis-7-configuration-how-to/

Posted in Windows Server | Tagged: | Comments Off on Backup and Restore IIS 7 Configuration – How To

 
%d bloggers like this: