LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > FrontPage Extensions & cPanel

Reply
 
Thread Tools Display Modes
  #11  
Old 01-12-2007, 02:31 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default Answer

They still doesn't work.
1. At first I had error: The server extensions were unable to access the file "www.$account_domain.conf". Please check the permissions.
2. I changed permissions to file /usr/local/apache/conf/sites/www.$account_domain.conf (owned by root:$user) to 644
3. I had then error: The server extensions were unable to access the file "httpd.conf". Please check the permissions.
4. I changed permissions to file /usr/local/apache/conf/httpd.conf (owned by root:root, default perms are 600) to 644.
5. FrontPage said that I must change the AllowOverride option to something else than none. I chaged the AllowOverride to All (for directory /usr/local/httpd/htdocs).
6. FrontPage asked me for user and password. It doesn't accept the correct one.
7. I changed permissions to file /home/$user/public_html/_vti_pvt/service.pwd (owned by $user:$user) to 644.
8. FrontPage accepted the password to $account_domain, but I have now another problem. FrontPage is asking for password to something else (it doesn't display for what).
May you check that? If possible, please also eliminate some needed changes described in points 1-8. Thanks.
Reply With Quote
  #12  
Old 01-12-2007, 08:52 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
All the permission issuses are caused by the uid/gid that frontpage extension run as.
I wonder what uid/gid is used under cPanel + Apache, root:$user? What is the ownership of file uploaded via FP extension?
LiteSpeed run it under $user:nobody, same as the the owner of doc_root. I can change it to $user:$user, or root:$user, but need to find out which one should be used.
Reply With Quote
  #13  
Old 01-13-2007, 06:11 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
cPanel has customized the standard frontpage installation, have mod_auth_pathrough and a customized frontpage wrapper fp-auth in order to make frontpage works when the service.pwd only readable to the user.

To make fp externsion works under LSWS, you have change relax the security of service.pwd a little bit, make it owned by $user:nobody with permission 0640, that's only modification you need to make.

The RC2 package has been updated, and I had verified that it works. Please give it a try and let me know the result.
Reply With Quote
  #14  
Old 01-25-2007, 06:15 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default Answer

There are still problems 3, 4, 5 and 8. Others (when I change the permissions to service.pwd) are now ok.
Reply With Quote
  #15  
Old 01-25-2007, 08:44 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Are you sure it is the default cPanel FP extension installation?

I wonder what FP extension feature were you using? the global admin site which can be used to enable/disable FP extension for each vhost? admin page for each site which can be used to manage user accounts? or uploading through FP extension from a windows machine.

The global admin site will not work under cPanel and it is not needed at all, cPanel will enable FP extension for each site automatically, no need to go through the global admin site. The other two features work well.

Default cPanel FP extension for each vhost does not use /usr/local/apache/conf/httpd.conf, instead, each vhost has a dedicated fake configuration file under /usr/local/apache/conf/sites/... , httpd.conf is not touched by FP extension for normal use.

And it may not be possible to make the global admin site work under cPanel, as /usr/local/apache/conf/httpd.conf is only readable to "root" user, and it is not desireable to run the FP extension CGI as root, problem 3,4,5 are related to it directly, problem 8 probably is caused by that as well.
Reply With Quote
  #16  
Old 01-26-2007, 04:37 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default Answer

I checked the /usr/local/apache/conf/sites/ and there are only files like www.domain. I always tried to access "domain" (without www.) in frontpage. Today I entered www.domain and... it works perfectly! Thanks for help.

If there is possible, please made FrontPage Extensions accessible from domain (without www.). In Apache I can access they both by domain and www.domain.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:43 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.