UnixServerAdmin

Server Administration & Management

How to install & uninstall Frontpage for single domain from Shell

First you need to login into your server with the root login details and then run followings commands one by one

# /scripts/setupfp5

1. What is the servername you want to setup? http://www.unixserveradmin.com
2. Saving .htaccess file: /home/unixserv/public_html/.htaccess
3. Using Upgrade Mode
4. Saving .htaccess file: /home/unixserv/public_html/_private/.htaccess

For remove

# /scripts/unsetupfp4

1. What is the servername you want to setup? http://www.unixserveradmin.com
2. Saving .htaccess file: /home/unixserv/public_html/.htaccess
3. Using Upgrade Mode
4. Saving .htaccess file: /home/unixserv/public_html/_private/.htaccess

May 10, 2012 Posted by | cPanel | , | Leave a comment

How to Resolve FrontPage Problem

1. If anyone facing problems with the FrontPage installation then first uninstall the installed FrontPage from shell /home/<username>/public_html  and Then run the following commands one by one.

# rm -rf .htaccess.*

# rm -rf _vti_pvt/

# rm -rf _derived

# rm -rf _private

# rm -rf _vti_*

2. If server is SuExec enabled then first disable it from the WHM And install FrontPage for the specific domain where you have seems the problem and then try to publish site by using Frontpage. If you are still facing the problem then remove all the .htaccess.* from/home/<username>/public_html and remove all _* (private,vti,etc)one by one carefully.

3. Now try to install it and check for the permission and ownership of public_html folder

# chown -R username:username public_html

# chmod -R 755 public_html

4. If the problem still persists then check whether the permission of public_html/_vti_pvt/service.pwd is 600 or not? (try even setting an attr and set the permission to 600)

# chmod 600 service.pwd

# chattr +i service.pwd

# chattr -i service.pwd

It will sort out your problem enjoy !

November 27, 2011 Posted by | Apache, PHP | , , , | Leave a comment