Web Hosting Talk







View Full Version : Webalizer and FrontPage


bert
04-17-2001, 08:36 AM
Does anyone know if Webalizer creates conflicts with FP? I just installed Webalizer about 5 days ago on one of my servers (RaQ 4i) and now I am getting emails from my customers saying that they are getting an error when they try to publish with FrontPage.

The error looks like this:

Server error: cannot change permissions on file "/home/sites/site49/web/stats/usage_200104.html"

Does anyone know what this is?

I deleted the stats directory for that site and it corrected the problem, but I guess I will be receiving more emails.

"ONE MORE REASON TO HATE FRONTPAGE" :angry:

Chicken
04-18-2001, 01:07 AM
What I don't understand about FrontPage is that it likes to attempt to mess with files in directories that have nothing to do with the site. That si webalizer's directory, and FrontPage is attempting to do *something* to the file. What, I don't know. Never used nor understood FP at all.

I just tell me clients NOT to use it heh, and show them similar programs that don't muck up everything.

bert
04-18-2001, 08:27 AM
Yeah, I hope it was that easy! People like the thing so much that some of them wouldn't even consider a host that does not offer FP.

I also hate it and I know it likes to take ownership over every single file or directory it finds. In other words it sucks!

I have continued to receive emails from my customers with the same error. I appears like the new signups do not have a problem, but the ones that were there started having these permission problems right after I installed the Webalizer.

Hopefully someday FP will be a thing of the past! ;)

swissmonk
04-18-2001, 09:29 AM
just change the permission in the webalizer.pl script, the original script use the user httpd and it cause problem with frontpage, if you use the user nobody, there is no problem...

for the 1.30 version (the script is in: /etc/cron.daily)
replace the line:
$messages .= `chown -R httpd:$name $thepath`;
with:
$messages .= `chown -R nobody:$name $thepath`;

for the 2.00 version (the script is in: /usr/local/bin)
add the line:
system("chown -R nobody $out");
Just after the line (line 68 on my script):
system("/usr/bin/webalizer -Q -D /var/cache/dns.cache -r $domains[$i] -n $domains[$i] -o $out $in");

It works great like that, no more problems with my customers and frontpage

bert
04-18-2001, 09:36 AM
I just changed it, lets see what happens next. Thanks for your help!! :)