View Full Version : frontpage control (owsadm?)
donco
02-15-2004, 02:03 AM
We're doing some migrations, and attempting to maintain the frontpage enabled state. We've migrated all the frontpage related files so that all that is necessary is to have the customer go to the control panel and enable frontpage. However, we would prefer to save them this step so as to keep the migration as seemless as possible.
It is our believe that enabling/disabling frontpage is done via calls to the owsadm binary in the frontpage directory. If we had the syntax of that call, then we could issue it as a part of the migration process for frontpage enabled sites.
Thank you for any and all assistance,
-DR Aldrich
DirectAdmin Support
02-15-2004, 11:50 AM
Hello,
To *manually* enable frontpage, run the following:
/usr/local/frontpage/version5.0/bin/owsadm.exe -o install -u username -p 80 -m www.domain.com -servconf /usr/local/directadmin/data/users/username/httpd.conf -pw bogus -xuser username;
/usr/local/frontpage/version5.0/bin/owsadm.exe -o users -c changepassword -p www.domain.com:80 -u username;
/usr/local/frontpage/version5.0/bin/owsadm.exe -o roleusers -c add -w / -p www.domain.com:80 -n admin -u username
John
etegration
02-16-2004, 08:56 AM
Originally posted by DirectAdmin Support
Hello,
To *manually* enable frontpage, run the following:
/usr/local/frontpage/version5.0/bin/owsadm.exe -o install -u username -p 80 -m www.domain.com -servconf /usr/local/directadmin/data/users/username/httpd.conf -pw bogus -xuser username;
/usr/local/frontpage/version5.0/bin/owsadm.exe -o users -c changepassword -p www.domain.com:80 -u username;
/usr/local/frontpage/version5.0/bin/owsadm.exe -o roleusers -c add -w / -p www.domain.com:80 -n admin -u username
John
is there an easier way of doing this? when my users log in they see
Status: Disabled
Username: Frontpage Not Installed
System Password: (Required for install
What's the password?! i didn't set any???
l0rdphi1
02-16-2004, 09:55 AM
Originally posted by etegration
System Password: (Required for install
What's the password?! i didn't set any???
That should be their (the user's) DA login password.
DirectAdmin Support
02-16-2004, 10:19 AM
Hello,
Well of course, the easy way is to use DirectAdmin. That's just the code that DA runs. (Password is set during 2nd step.)
John
donco
02-16-2004, 10:38 AM
Originally posted by DirectAdmin Support
Hello,
To *manually* enable frontpage, run the following:
/usr/local/frontpage/version5.0/bin/owsadm.exe -o install -u username -p 80 -m www.domain.com -servconf /usr/local/directadmin/data/users/username/httpd.conf -pw bogus -xuser username;
/usr/local/frontpage/version5.0/bin/owsadm.exe -o users -c changepassword -p www.domain.com:80 -u username;
/usr/local/frontpage/version5.0/bin/owsadm.exe -o roleusers -c add -w / -p www.domain.com:80 -n admin -u username
John
I've yet to try this, but it is exactly the code that I was hoping for. Many thanks!
-DR Aldrich
etegration
02-18-2004, 08:41 AM
Originally posted by l0rdphi1
That should be their (the user's) DA login password.
i used the user's password but it still gives me error. What could the password be???
does it also mean once frontpage extension is enabled, FTP automatically is disabled or both works together???
DirectAdmin Support
02-18-2004, 10:06 AM
Hello,
Check the /var/log/httpd/fpexec_log
and the /var/log/httpd/domains/domain.com.error.log
John
etegration
02-18-2004, 10:36 AM
Originally posted by DirectAdmin Support
Hello,
Check the /var/log/httpd/fpexec_log
and the /var/log/httpd/domains/domain.com.error.log
John
all 404 error on some html files only.
donco
02-18-2004, 12:39 PM
(unsubscribing)
etegration
02-19-2004, 12:18 AM
I jus did a restart of my httpd services and it shows:
[root@myserver init.d]# ./httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Thu Feb 19 15:12:48 2004] [warn] module mod_frontpage.c is already added, skipping
DirectAdmin Support
02-19-2004, 10:55 AM
That's fine, it just means frontpage added another LoadModule line in the main /etc/httpd/conf/httpd.conf file, in addition to the one we already have. Won't hurt anything, but you can just remove one of the duplicates to get rid of the warning.
John
etegration
02-19-2004, 05:19 PM
Originally posted by DirectAdmin Support
That's fine, it just means frontpage added another LoadModule line in the main /etc/httpd/conf/httpd.conf file, in addition to the one we already have. Won't hurt anything, but you can just remove one of the duplicates to get rid of the warning.
John
but John, my clients cannot activate it using the DA account and DA account's password.
DirectAdmin Support
02-20-2004, 10:35 AM
Hello,
Is that a different issue than the apache warning? They can't get frontpage working? The warning essentially means nothing with respect to functionality. If they are having problems using frontpage, that's a sepearte issue.. check the apache error logs, and make sure that they're using www. in front of their domain (domain.com won't work, but www.domain.com will)
John
etegration
02-21-2004, 06:16 AM
Originally posted by DirectAdmin Support
Hello,
Is that a different issue than the apache warning? They can't get frontpage working? The warning essentially means nothing with respect to functionality. If they are having problems using frontpage, that's a sepearte issue.. check the apache error logs, and make sure that they're using www. in front of their domain (domain.com won't work, but www.domain.com will)
John
Hi John,
yes and as describe, my users cannot enable their Frontpage extension using their DA password after loggin into their Da account.
"Error executing your request
--------------------------------------------------------------------------------
Details
Error setting up your web:
"
and also:
"does it also mean once frontpage extension is enabled, FTP automatically is disabled or both works together???"
DirectAdmin Support
02-21-2004, 01:29 PM
Hello,
Check the logs..
/var/log/directadmin/error.log
/var/log/httpd/fpexec_log
Then try running the above commands manually to see if any error is generated that doesn't showup in DA.
You could always try installing the frontpage extensions again:
cd /usr/local/directadmin/customapache
./build frontpage_extJohn
etegration
02-21-2004, 11:03 PM
Originally posted by DirectAdmin Support
Hello,
Check the logs..
/var/log/directadmin/error.log
/var/log/httpd/fpexec_log
Then try running the above commands manually to see if any error is generated that doesn't showup in DA.
You could always try installing the frontpage extensions again:
cd /usr/local/directadmin/customapache
./build frontpage_extJohn
it returns with no problems:
[root@myservercustomapache]# ./build frontpage_ext
Found /usr/local/directadmin/customapache/fp50.linux.tar.gz
Extracting Frontpage Extensions...
Setting the suidkey...
Creating we80.cnf...
Done. Frontpage Extension install complete.
and when i logged into a user's DA to enable Frontpage it works! Thanks John!
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.