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
  #1  
Old 12-29-2006, 02:28 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default FrontPage Extensions & cPanel

Hello,
I have problem with using FrontPage Extensions at cPanel server.
I tried to login at http://account_domain/_vti_bin/_vti_adm/fpadmcgi.exe, but there was an error. In _vti_pvt/service.pwd was at first line "# - FrontPage -". When I deleted that comment (this is first problem), I can now login to http://account_domain/_vti_bin/_vti_adm/. When I go to http://account_domain/_vti_bin/_vti_adm/fpadmcgi.exe, I see 404 error. On Apache&cPanel there is working a FrontPage Extenstions Site. That is the second problem. Could you tell me, how could I enable FrontPage Extensions?
Reply With Quote
  #2  
Old 01-03-2007, 08:58 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default Answer

Yesterday I do some tests and there is impossible to setup FrontPage Extenstions, when you import configuration from httpd.conf (e. g. cPanel). I did also steps described at: http://www.litespeedtech.com/library.../#qa_frontpage

There is problem with: "The most important configuration is the Domain Names, it must match the domain name part of the URL that you used to access the web page, and otherwise it will not work". When configuration is imported from httpd.conf, then "Domain Names" aren't set. cPanel keeps FrontPage Extensions cofigurations in /usr/local/frontpage/. May you add ability to work FrontPage Extensions with httpd.conf/cPanel configuration?
Reply With Quote
  #3  
Old 01-03-2007, 10:10 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
What is the apache directive used by cPanel to enable frontpage for a vhost?

"FrontpageEnable"? or something else?
Reply With Quote
  #4  
Old 01-03-2007, 10:19 AM
slimak slimak is offline
Senior Member
 
Join Date: Aug 2006
Posts: 67
Default Answer

None, there is only a one line in httpd.conf about FrontPage:
AddModule mod_frontpage.c
Reply With Quote
  #5  
Old 01-03-2007, 10:49 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
OK, it is the mod_frontpage coming with Microsoft frontpage package, it is like a global switch which enable frontpage for all vhosts. I will add support for that module.
Reply With Quote
  #6  
Old 01-03-2007, 11:19 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
OK, frontpage should work now with the updated package, please give it a try and let me know. Thanks.
Reply With Quote
  #7  
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
  #8  
Old 01-12-2007, 08:52 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
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
  #9  
Old 01-13-2007, 06:11 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
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
  #10  
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
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 02:53 AM.



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