You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Lukas Zapletal <lz...@bach.cz> on 2001/04/26 09:41:17 UTC
Permission denied - logfile
I configured Embperl on Windows/Apache 1.3 to save log in the apache
directory and I get error:
[178]ERR: 25: Line 1: Error
[178]ERR: 26: Line 1: Logfile D:/Inetpub/wwwroot/embperl/logs open error:
Permission denied
Where can I set permissions in Apache?
My httpd.conf:
PerlSetEnv EMBPERL_ESCMODE 0
PerlSetEnv EMBPERL_OPTIONS 16
PerlSetEnv EMBPERL_MAILHOST 192.168.1.13
PerlSetEnv EMBPERL_OBJECT_BASE base.epl
PerlSetEnv EMBPERL_OBJECT_FALLBACK notfound.html
PerlSetEnv EMBPERL_DEBUG 10477
PerlSetEnv EMBPERL_LOG "D:/Program Files/Apache Group/Apache/logs"
PerlSetEnv EMBPERL_VIRTLOG "/embper/log"
Alias /embperl "D:/Inetpub/wwwroot/embperl"
<Directory "D:/Inetpub/wwwroot/embperl">
<FilesMatch ".*\.html$">
SetHandler perl-script
PerlHandler HTML::EmbperlObject
Options ExecCGI
</FilesMatch>
<FilesMatch ".*\.epl$">
Order allow,deny
Deny From all
</FilesMatch>
</Directory>
<Location /embperl/log>
SetHandler perl-script
PerlHandler HTML::Embperl
Options ExecCGI
</Location>
Regards
Lukas Zapletal [lzap@bach.cz]
BACH systems Ltd. [www.bach.cz]
web programmer
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Permission denied - logfile
Posted by Gerald Richter <ri...@ecos.de>.
> I configured Embperl on Windows/Apache 1.3 to save log in the apache
> directory and I get error:
>
> [178]ERR: 25: Line 1: Error
> [178]ERR: 26: Line 1: Logfile D:/Inetpub/wwwroot/embperl/logs open error:
> Permission denied
>
> Where can I set permissions in Apache?
>
You have to set the permission in windows (not Apache), so that the user
Apache runs as has write access to the directory
D:/Inetpub/wwwroot/embperl/
In case your directory is
D:/Inetpub/wwwroot/embperl/logs
you have to change the configuration to
PerlSetEnv EMBPERL_LOG "D:/Program Files/Apache
Group/Apache/logs/embperl.log"
EMBPERL_LOG takes a filename, not a directory
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org