frontpage control (owsadm?)

donco

Verified User
Joined
Feb 5, 2004
Messages
45
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
 
Hello,

To *manually* enable frontpage, run the following:

Code:
/usr/local/frontpage/version5.0/bin/owsadm.exe -o install -u username -p 80 -m [url]www.domain.com[/url] -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 [url]www.domain.com:80[/url] -u username;

/usr/local/frontpage/version5.0/bin/owsadm.exe -o roleusers -c add -w / -p [url]www.domain.com:80[/url] -n admin -u username
John
 
DirectAdmin Support said:
Hello,

To *manually* enable frontpage, run the following:

Code:
/usr/local/frontpage/version5.0/bin/owsadm.exe -o install -u username -p 80 -m [url]www.domain.com[/url] -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 [url]www.domain.com:80[/url] -u username;

/usr/local/frontpage/version5.0/bin/owsadm.exe -o roleusers -c add -w / -p [url]www.domain.com:80[/url] -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???
 
etegration said:
System Password: (Required for install

What's the password?! i didn't set any???
That should be their (the user's) DA login password.
 
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
 
DirectAdmin Support said:
Hello,

To *manually* enable frontpage, run the following:

Code:
/usr/local/frontpage/version5.0/bin/owsadm.exe -o install -u username -p 80 -m [url]www.domain.com[/url] -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 [url]www.domain.com:80[/url] -u username;

/usr/local/frontpage/version5.0/bin/owsadm.exe -o roleusers -c add -w / -p [url]www.domain.com:80[/url] -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
 
l0rdphi1 said:
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???
 
Hello,

Check the /var/log/httpd/fpexec_log
and the /var/log/httpd/domains/domain.com.error.log

John
 
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
 
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
 
DirectAdmin Support said:
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.
 
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
 
DirectAdmin Support said:
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???"
 
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:
Code:
cd /usr/local/directadmin/customapache
./build frontpage_ext
John
 
DirectAdmin Support said:
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:
Code:
cd /usr/local/directadmin/customapache
./build frontpage_ext
John

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!
 
Back
Top