buy tb500

Archive for the ‘Windows’ Category

Custom wordpress permalinks in windows server 2008

Wednesday, May 25th, 2011

Use the following instructions to create pretty permalinks for your blog posts.

To enable pretty permalinks in Word Press:

  1. Log on to WordPress with Administrator user rights.
  2. In WordPress, click the Options tab.
  3. On the Options page, click the Permalinks subtab.
    This will take you to the page where you can customize how WordPress generates permalinks for blog posts.
  4. On the Permalinks page, select Custom, specify below and enter “/%year%/%monthnum%/%day%/%postname%/” in the Custom structure text box.
  5. Click Update Permalink Structure.

All the blog post links will have URLs that follow the format that you have specified, but if you click any one of those links the Web server will return a 404 – File Not Found error. This is because WordPress relies on a URL rewriting capability within the server to rewrite requests that have “pretty permalinks” to an Index.php file. In the next section, you will create a rule that will provide this capability.

Creating a Rewrite Rule

Open the Web.config file that is located in the same directory where the WordPress files are installed, and paste the following XML section into the system.webServer element:

<rewrite>
<rules>
<rule name=”Main Rule” stopProcessing=”true”>
<match url=”.*” />
<conditions logicalGrouping=”MatchAll”>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
</conditions>
<action type=”Rewrite” url=”index.php” />
</rule>
</rules>
</rewrite>

This rule will try to match any requested URL. If the URL does not correspond to a file or a folder on the file system, it will rewrite the URL to the Index.php file. At that point, WordPress will determine which content to serve based on the REQUEST_URI server variable that contains the original URL before it was modified by this rule.

Testing the Rewrite Rule

After you save the rewrite rule to the Web.config file, open a Web browser and click any one of the permalinks in your WordPress blog. You should see the correct content returned by the Web server for each permalink.

Summary

In this walkthrough you learned how to use the URL Rewrite module to enable “pretty permalinks” in the WordPress blog engine. WordPress is just one example of the many popular PHP applications that can take advantage of the URL Rewrite module in IIS 7, a feature that enables user-friendly and search engine-friendly URLs.

References

http://learn.iis.net/page.aspx/466/enabling-pretty-permalinks-in-wordpress/

How do I import/export email contacts in SmarterMail?

Tuesday, May 24th, 2011

The following article explains how to import/export email contacts in SmarterMail. Contacts can be imported from either a vCard file (*.vcf), a comma-separated file (*.csv) or a zip archive containing any combination of VCF and CSV files. Contacts can only be exported into a vCard file (*.vcf). When exporting contacts, you have the option of exporting all contacts, or specific contacts.

To import email contacts, please follow these steps:

  1. Open a browser window and go to one of the following URLs:
    • http://mail.yourdomainname.com
    • http://mail#.safesecureweb.com (this address is provided in the setup email)
  2. Login using your email address and password.
  3. From the Folders section on the left, expand Contacts. From the Folders section, expand Contacts.
  4. Click My Contacts.
  5. From the Actions menu, select Import Contacts. From the Actions menu, select Import Contacts.
  6. Browse to the file on your local machine. Browse to the file on your local machine.
  7. Click Ok.

Once the contacts are done importing, they will appear in your contacts list.

To export email contacts, please follow these steps:

  1. Open a browser window and go to one of the following URLs:
    • http://mail.yourdomainname.com
    • http://mail#.safesecureweb.com (this address is provided in the setup email)
  2. Login using your email address and password.
  3. From the Folders section on the left, expand Contacts. From the Folders section, expand Contacts.
  4. Click My Contacts.
  5. From the Actions menu, select Export All Contacts. From the Actions menu, select Import Contacts.
  6. If you prefer to export individual users, check each user and select Export Selected Contacts.

If a single contact is being exported, a .vcf file will be created with the user’s name. If multiple contacts are being exported, a .zip file will be created called vCards.zip.

References

http://www.hosting.com/support/smartermail3/impexpcontacts

This Virtual Directory does not allow contents to be listed.

Friday, May 20th, 2011

This kind of issue will be happen in windows server 2003 IIS6

if you faced the issue then refer to below solution

1- RDC to the server go to IIS then select the domain and right click on the domain then select proprites

2- go to Documents and select the default page

3- go to home directory in properties  and make the appliction pool = the domain name

and excute permission = scripts only

4- go to directory security in properties of the domain in IIS6, click edit under authentication and access control

change the username to domain.com_web  and you can reset the password for this username from right click on my computer and press on manage, then select local users and groups then you will be able to reset the password

after that try to test the site, you will find it fix already

check all the steps, if not fix then drop me email to my email, you can find the email in contact us.

Thank you.

How to re-configure domain in plesk control panel (Windows Server 2008)

Tuesday, May 17th, 2011

some time the domain will get issue due the permission or other things, the good solution is to re-configre the domain, please refer to below steps

1- RDC to the server (remote access)

2- go to RUN

3- put this CMD in RUN and press ENTER

4- you will get the prompt black screen

5- run this command

C:\Program Files\Parallels\Plesk\admin\bin

then run this

websrvmng.exe –reconfigure-vhost –vhost-name=domainname.com or .net or .any thing

example

websrvmng.exe –reconfigure-vhost –vhost-name=alzwea.com

this operation will take time,, depend on the server, some time 5 minute some time more or less than that

Notes,, the command above is if the server 32 bit, but if the server is 64 bit then you need to run this

C:\Program Files (86)\Parallels\Plesk\admin\bin

Thank you.

Getting CDONTS to work on Windows Server 2008 x64

Wednesday, May 4th, 2011

1) Copy CDONTS.dll from another server to C:\Windows\SysWOW64

2) Run regsvr32 c:\windows\SysWOW64\cdonts.dll

3) Grant the appropriate permissions on C:\inetpub\mailroot\pickup (I granted USERS group Modify permissions).  You could get permission denied if the folder security isn’t adjusted.

4) I’m assuming you have installed the SMTP Service located in Server Manager > Features > SMTP Server option

5) Make sure when you when you install the SMTP service, you enable Relay for localhost > Administrative Tools > Internet Information Services (IIS6) > SMTP Virtual Server > Right click, Properties > Access Tab > Relay button > Add 127.0.0.1 in the option.   Also enable logging for additional troubleshooting.

Reference

http://weblogs.asp.net/steveschofield/archive/2008/08/18/getting-cdonts-to-work-on-windows-server-2008-x64.aspx

Attachment size Smarter mail

Wednesday, May 4th, 2011

to increase upload attachment size in smarter mail

  1. Log onto your SmarterMail server.
  2. Open the web.config file with Notepad, located in the:
    c:\program files\smartertools\smartermail\mrs folder
  3. Search for the line <httpRuntime maxRequestLength=”10240″/>
  4. Replace it with <httpRuntime maxRequestLength=”10240″ executionTimeout=”300″/>
  5. Save the File
  6. Stop and Restart the SmarterMail service

reference

https://portal.smartertools.com/KB/a125/smartermail-web-interface-timing-out-when-uploading.aspx

unsuspend domain by command, plesk server

Tuesday, April 26th, 2011

%plesk_bin%\domain.exe –on example.com

FYI %plesk_bin% typically is C:\Program Files\Parallels\Plesk\admin\bin

You tried to access the Developer Edition from a disallowed IP (124.217.240.93). The Developer Edition can only be accessed from 127.0.0.1 and two additional IP addresses. The additional IP addresses are: 124.217.240.209,202.129.162.2

Wednesday, April 6th, 2011

solution is you need to restart coldfusion

Reference

http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:46617

redirection usig index.html

Monday, January 17th, 2011

http://www.web-source.net/html_redirect.htm

How To Enable Security Auditing in Windows XP Pro

Saturday, January 15th, 2011

Logging events can help you monitor your computer or network and prevent a successful attack and can also prove very useful in determining how and when an attack occurred if you use the logs as forensic evidence.

  1. Click on Start
  2. Click on All Programs
  3. Click on Administrative Tools (if its there skip to Step 7. To turn it on continue with Step 4)
  4. Right-click on the Start bar and select Properties.
  5. Select the Start Menu tab and click on the Customize button
  6. Select the Advanced tab and scroll to the bottom of the options for System Administrative Tools and select the option you want
  7. Select Local Security Policy
  8. Click on the + next to Local Policies to expand the tree
  9. Select Audit Policy
  10. For each option in the right panel you can double-click on it to select Success or Failure logging
Tips:
  1. To disable logging for an option just uncheck both the Success and Failure boxes
  2. Remember that logging can affect performance. Do some research to determine the right balance between logging and performance for your system

Thank you