• 31Aug

    Greetings Guys ,

    Dont worry about converting to MailDir on server …follow this ….

    A) /scripts/convert2maildir

    choose option 1.. Backup all mail folders on this server
    3.. Start maildir conversion process

    B) /scripts/courierup –force

    C) /scripts/eximup –force

    D) /scripts/upcp –force

    E) /scripts/convert2maildir

    choose option 3… to convert partially converted mail accounts

    Cheers …

    Kyle

  • 31Aug

    Greetings guys ,

    If you are getting ” Starting named: /usr/sbin/named: symbol lookup error: /usr/sbin/named: undefined symbol: dns_resolver_setudpsize ” Error while starting named on Linux server then just verify your /etc/resolv.conf and then just do …..

    yum -y upgrade bind-libs

    And here you go to start Named fine …

    Cheers ….

    Kyle

  • 27Aug

    Hello,

    If you want to do some operation in OS windows under other user then you can use following steps..

    1. When logged in as a non-privileged user, browse to your system folder, usually C:\windows\
    2. Shift-right-click on any exe file for example click on “explorer.exe”.
    3. Select “Run As” and provide the credentials for the local admin account.
    4. A dialog box will pop-up asking you for a valid username and password. Enter one of a user that has the required administrative privileges to run and manage that program.
    5. If you give a wrong username or password an error will pop-up:
    6. If you gave a valid username and password then Explorer will open giving you the full permissions to manage it and any programs you run from within that window will run with admin privileges.

    If you want to do that from the command prompt then do that by using following command
    runas /user:computername\Administrator commandWhere computername is the name of your computer

    username is the name of the user you’re trying to run the command as (e.g. Administrator). command is the command you’re trying to run (e.g. a batch file, an .exe file ).

    For example:

    C:\>runas /user:pro1\Administrator “explorer.exe”
    Enter the password for pro1\Administrator:
    Attempting to start explorer.exe as user “pro1\Administrator” …

    Thats it no need to logout from current login and login with other user…

    Enjoy…

  • 26Aug

    This is one of the poblems that we have constantly faced on window web server. Although PHP seems installed, any .php pages fail to work on browser with the error message ” Page not found”

    The problem is PHP and IIS are not configured to interact and so IIS fails to recognise a .php extension.

    Use the following steps in this case and Pray to upparwala that it works (typical funda with Windows!!! )

    To allow IIS to know how to handle CGI scripts with the .php extension, you must add a script mapping.

    In Internet Services Manager, select your web Site

    Go to Properties
    Go to the Home Directory tab
    Click on the Configure button
    Select the App Mappings tab
    Insert the following: d:\path\to\php\php.exe %s %s
    This is the location of the PHP executable. In addition, you can also add a similar script mapping for the .php3 extension if you so desire. You should also mark each entry as being a Script interpreter so that you can mark you directories as having Script permission and not Execute thereby making them safer.

    The reason for the two % arguments is to handle multiple parameters on ISINDEX queries, which are an obscure part of the CGI spec.

    ——————————————————————-

    Well, one of my Mentors once told me ” If you know registry, you can control Windows or it controls you!! “

    So heres a method to install PHP support in IIS via registry (update to the above post)

    WARNING
    These steps involve working directly with the windows registry. One error here can leave your system in an unstable state. I highly recommend that you back up your registry first
    ===============================================

    1.Run Regedit.

    2.Navigate to: HKEY_LOCAL_MACHINE /System /CurrentControlSet /Services /W3Svc /Parameters /ScriptMap.

    3.On the edit menu select: New->String Value.

    4.Type in the extension you wish to use for your php scripts. For example .php

    5.Double click on the new string value and enter the path to php.exe in the value data field. ex: c:\php\php.exe.

    6.Repeat these steps for each extension you wish to associate with PHP scripts

    The following steps do not affect the web server installation and only apply if you want your php scripts to be executed when they are run from the command line (ex. run c:\myscripts\test.php) or by double clicking on them in a directory viewer window. You may wish to skip these steps as you might prefer the PHP files to load into a text editor when you double click on them.

    1.Navigate to: HKEY_CLASSES_ROOT

    2.On the edit menu select: New->Key.

    3.Name the key to the extension you setup in the previous section. ex: .php

    4.Highlight the new key and in the right side pane, double click the “default value” and enter phpfile.

    5.Repeat the last step for each extension you set up in the previous section.

    6.Now create another New->Key under HKEY_CLASSES_ROOT and name it phpfile.

    7.Highlight the new key phpfile and in the right side pane, double click the “default value” and enter PHP Script.

    8.Right click on the phpfile key and select New->Key, name it Shell.

    9.Right click on the Shell key and select New->Key, name it open.

    10.Right click on the open key and select New->Key, name it command.

    11.Highlight the new key command and in the right side pane, double click the “default value” and enter the path to php.exe. ex: c:\php\php.exe -q %1. (don’t forget the %1).

    12.Exit Regedit.

    13.If using PWS on Windows, reboot to reload the registry.

    PWS and IIS 3 users now have a fully operational system. IIS 3 users can use a nifty tool from Steven Genusa to configure their script maps.

    Windows and PWS 4 or newer

    When installing PHP on Windows with PWS 4 or newer version, you have two options. One to set up the PHP CGI binary, the other is to use the ISAPI module dll.

    If you choose the CGI binary, do the following:

    1.Edit the enclosed pws-php4cgi.reg file (look into the sapi dir) to reflect the location of your php.exe. Forward slashes should be escaped, for example: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script Map] “.php”=”c:\\php\\php.exe”

    2.In the PWS Manager, right click on a given directory you want to add PHP support to, and select Properties. Check the ‘Execute’ checkbox, and confirm.

    If you choose the ISAPI module, do the following:

    1. Edit the enclosed pws-php4isapi.reg file (look into the sapi dir) to reflect the location of your php4isapi.dll. Forward slashes should be escaped, for example: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script Map] “.php”=”c:\\php\\sapi\\php4isapi.dll”

    2. In the PWS Manager, right click on a given directory you want to add PHP support to, and select Properties. Check the ‘Execute’ checkbox, and confirm

    Windows NT/2000 and IIS 4 or newer

    To install PHP on an NT/2000 Server running IIS 4 or newer, follow these instructions. You have two options to set up PHP, using the CGI binary (php.exe) or with the ISAPI module.

    In either case, you need to start the Microsoft Management Console (may appear as ‘Internet Services Manager’, either in your Windows NT 4.0 Option Pack branch or the Control Panel=>Administrative Tools under Windows 2000). Then right click on your Web server node (this will most probably appear as ‘Default Web Server’), and select ‘Properties’.

    If you want to use the CGI binary, do the following

    1.Under ‘Home Directory’, ‘Virtual Directory’, or ‘Directory’, click on the ‘Configuration’ button, and then enter the App Mappings tab.

    2.Click Add, and in the Executable box, type: c:\php\php.exe (assuming that you have unziped PHP in c:\php\).

    3.In the Extension box, type the file name extension you want associated with PHP scripts. Leave ‘Method exclusions’ blank, and check the Script engine checkbox. You may also like to check the ‘check that file exists’ box - for a small performance penalty, IIS (or PWS) will check that the script file exists and sort out authentication before firing up php. This means that you will get sensible 404 style error messages instead of cgi errors complaing that php did not output any data.

    4.You must start over from the previous step for each extension you want associated with PHP scripts. .php and .phtml are common, although .php3 may be required for legacy applications.

    5.Set up the appropriate security. (This is done in Internet Service Manager), and if your NT Server uses NTFS file system, add execute rights for I_USR_ to the directory that contains php.exe.

    To use the ISAPI module, do the following:

    1.If you don’t want to perform HTTP Authentication using PHP, you can (and should) skip this step. Under ISAPI Filters, add a new ISAPI filter. Use PHP as the filter name, and supply a path to the php4isapi.dll.

    2.Under ‘Home Directory’, click on the ‘Configuration’ button. Add a new entry to the Application Mappings. Use the path to the php4isapi.dll as the Executable, supply .php as the extension, leave Method exclusions blank, and check the Script engine checkbox.

    3.Stop IIS completely (NET STOP iisadmin)

    4.Start IIS again (NET START w3svc)

  • 26Aug

    This could be one of the solutions to the standard problem are facing,we that of the name based Web Sites not starting on the same shared IP and Port 80

    Host headers is what allows you do do name based Web Hosting. ie IIS looks at the httpd header information for the hostname and returns the correct site depending on that information.

    Webppliance automatically sets up web host


    headers for the domain.com and www.domain.com

    If you add additional web host headers (say you want domain.net aliased to domain.com) remember that Ensim does not add the additional domain to dns. You have to add that manually.

    So, the next time we come across such a situation (which is not to infrequent as far as I remember), please try to implement the above and check out it it does really work.

  • 26Aug

    Download Windows binary for the latest version of PHP. Once you’ve downloaded it, unzip it into a C:\, rename the folder to “php”.

    Open the PHP.INI-DIST file from C:\PHP folder, locate the following line

    ;cgi.force_redirect = 1

    We need to uncomment this line and change the setting to 0 as shown below to run PHP under IIS, do the necessary changes and save the file as php.ini in your windows folder (C:\WINNT on my computer)

    cgi.force_redirect = 0

    Check the following link for configuring the IIS for php:

    http://www.phpbuddy.com/sub_articles.php?o…ther_articles=4

  • 26Aug

    Please refer to the link

    at

    http://www.phpbuilder.com/board/showthread…readid=10254691

  • 26Aug

    For an Email integrated with Ensim you should leave the POP3 and SMTP services alone and install Mailenable or Mailmax on the server instead.

    Ensim has the details here:
    http://www.ensim.com/products/webppliance/…ndows/mail.html

    Install Mailenable Standard (free) and then run the Integration Utility at
    http://www.ensim.com/products/webppliance/…ailenable3.html

    Ensim now shows an extra item in the control panel for email.

  • 26Aug

    Unlike Windows 2K, which only had SMTP service by default, Windows 2K3 also has POP3 in addition to SMTP services. So basically you can use it as a mail server. This is a small How-to for the configurations involved

    server Config

    Make sure SMTP Is Installed. If not, follow these directions:

    Click Start, point to Control Panel, and then click Add or Remove Programs.

    Click Add/Remove Windows Components.

    In the Windows Components Wizard, click Internet Information Services (IIS), and then click Details.

    Click to select the following check boxes:

    SMTP Service

    World Wide Web Server

    Click to select any other components that you want.

    Click OK two times, then click the checkbox on the POP3 windows if it is not checked.

    Click Next, and then click Finish to close the Windows Components Wizard.

    Configuration

    In IIS6 open the Service Manager

    Go to the Default SMTP Virtual Server and Right Click
    (Note: If the SMTP Virtual Service Manager is not visible, run this command from a Command Prompt: regsvr32 C:\WINDOWS\system32\inetsrv\smtpsnap.dll).

    In the General Tab - Make sure the IP address is that of your machine.

    In Access click Access Control and verify that Anonymous and Integrated
    both are checked.

    In Access and the Relay Tab make sure that you have granted access only to either your machine IP or to the local host identified as 127.0.0.1

    Open the POP3 Service Manager in Administrative Tools

    Select your Server with a Right Click and check that the root mail directory is where you are planning on placing your email. I use the default which is C:\InetPub\mailroot.

    Next make sure that both the Require Secure Password and Always Create an Associated User are both checked. The later is optional however makes it easier to add your user accounts to the server for email.

    Create a New Domain in the server and double click it. (Domain is domain.com, not www.domain.com ).

    Click Add Mailbox and fill in the blanks, if you have the Create Associated User checked

    Now SMTP and POP3 are setup and you only have to setup the Email program on the client. Ideally, this is Microsoft software so the expectation is Microsoft Technology and software on the client side, so Outlook Express is best.

    Client Configuration

    Make sure the following is conveyed to the user you just established in the mailbox above.

    The Account Name is the Username with no domain. (Because we are using SPA. If not using SPA, then username is username@domain.com )

    The password is completed.

    The Log On using SPA is checked. (Because we are using SPA. If not using SPA, then leave this unchecked.)

    The Outgoing Mail Server Requires Authentication is Checked. and then click the Settings Tab and make sure you have checked the Same as Incoming

  • 26Aug

    It is just not necessary to use the default DNS server in Windows. You can ofcourse install and use ISC BIND (though I still prefer dear old MS DNS

    Download links are as follows
    http://www.isc.org/products/BIND/bind8.html

    Setting up and configuring BIND on Windows might turn out to be nightmare

    Anyway, here goes

    Section 1: Location of files

    [C:\Program Files\DNS\bin\]

    In this folder are all the executeables that came with BIND.

    [C:\Program Files\DNS\etc]

    In this folder are all configuration files. This includes:

    named.conf — main BIND configuration file
    rndc.key — required for rndc to manage your BIND Server
    root.hint — a hint to BIND as to what the root servers are
    named.pid — created by BIND when running
    example.com.zone — zone file containing my example zone
    1.0.0.127.IN-ADDR.ARPA.zone — zone file for reverse lookup

    [C:\Program Files\DNS\log]

    Create this folder to store my log files in

    [C:\Program Files\DNS\manual]

    help files and other text files were placed in this folder

    Section 2: Configuration

    I’m not going to teach you how to configure your Server

    Refer to the manuals for details . However here are someworkign examples

    http://serialcoders.sytes.net/BIND/

    Consider copying those files in to their respective directories on your Server

    and modifying them

    To remotely test your BIND servers:

    http://serialcoders.sytes.net/cgi-bin/DNS/…S/index.pl?lr=3

« Previous Entries   

Recent Comments

  • This could be one of the reason why UK Government is making...
  • The root access in VPS gives you the ability to install and...
  • Hello...Thanks for the nice read, keep up the interesting po...
  • can i get more information..see not theoryitcal i need part...
  • Hi, I use a company laptop and its disabled. How can I enabl...