From: koray (koray@nsswb.com)
Date: Tue 29 Jul 2003 - 11:55:33 EEST
selamlar
vqadmin.cgi dosyasini browserdan cagirinca asagidaki hatayi aliyorum
> http://localhost/cgi-bin/vqadmin/vqadmin.cgi
>
> Internal Server Error
> The server encountered an internal error or misconfiguration and was
> unable
> to complete your request.
>
> Please contact the server administrator, root@localhost and inform them
> of
> the time the error occurred, and anything you might have done that may
> have
> caused the error.
>
> More information about this error may be available in the server error
> log.
>
> Apache/1.3.23 Server at 127.0.0.1 Port 80
>
> --------------------------------------------------------------------------
>
> vqadmin dizinindeki dosya haklari su sekilde:
>
> --
> -----
>
> drwxr-xr-x 3 vpopmail vchkpw 4096 Jul 28 16:57 .
> drwxr-xr-x 3 root root 4096 Jul 28 15:01 ..
> -rw------- 1 apache root 128 Jul 28 16:57 .htaccess
> drwxr-xr-x 2 vpopmail vchkpw 4096 Jul 28 15:01 html
> -rw-r--r-- 1 root root 20 Jul 28 16:57 .htpasswd
> -rw-r--r-- 1 vpopmail vchkpw 864 Jul 28 15:01 vqadmin.acl
> -rwsr-sr-x 1 root root 57488 Jul 28 16:49 vqadmin.cgi
>
> --------------------------------------------------------------------------
>
> htaccess dosyasinin icerigi: --
> -----
> /var/www/cgi-bin/vqadmin/.htaccess
>
> AuthType Basic
> AuthUserFile
> /var/www/cgi-bin/vqadmin/.htpasswd
> AuthName vQadmin
> require valid-user
> satisfy any
>
>
> --------------------------------------------------------------------------
>
> httpd.conf dosyasi icerigi:
> --
> -----
>
> /etc/httpd/conf/httpd.conf
>
> <Directory "/var/www/cgi-bin/vqadmin">
> deny from all
> Options ExecCGI
> AllowOverride AuthConfig
> Order deny,allow
>
> </Directory>
>
>
> --------------------------------------------------------------------------
>
> vqadmin.acl dosyasi icerigi: --
> -----
>
> /var/www/cgi-bin/vqadmin/vqadmin.acl
>
> #
> # Access List Definitions
> # vol@inter7.com
> #
>
> #
> # Default group contains permissions for all users
> # not listed under any groups
> #
> # If the default group is not defined, users not
> # listed under any other groups will have no
> # permissions.
> #
> # Examples follow...
> #
>
> default - ...
>
> #
> # Access permissions:
> #
> # V View user information
> # I View domain information
> # M Modify user information
> # U Modify domain information
> # C Create user
> # A Create domain
> # D Delete user
> # X Delete domain
> #
> # These features will still appear in the HTML templates
> # if the user doesn't have access to them, however, they will
> # get a permission denied error if they try to make use of
> # them.
> #
>
> tech VI tech1user
> admin VIMUDCA admin1user
>
> #
> # An asterisk in the features field specifies that you
> # want all users in this group to have access to
> # all features.
> #
>
> senior * admin
>
> --------------------------------------------------------------------------
>
>
> --
> -
> apache error_log dosyasi:
[Tue Jul 29 11:19:12 2003] [alert] [client 127.0.0.1]
/var/www/cgi-bin/vqadmin/.htaccess: AuthUserFile takes 1-2 arguments
(.htaccess dosyasi sahibi apache iken)
[Tue Jul 29 11:31:32 2003] [crit] [client 127.0.0.1] (13)Permission denied:
/var/www/cgi-bin/vqadmin/.htaccess
pcfg_openfile: unable to check htaccess file, ensure it is readable
(.htaccess dosyasinin sahibi nobody veya root olunca)
>
>
> .htaccess dosyasinin sahibini apache yapinca en ustteki internal server
> error aliyorum.chmod nobody veya root yapinca ise
>
> Forbidden
> You don't have permission to access /cgi-bin/vqadmin/vqadmin.cgi on this
> server.
>
> hatasini aliyorum.
>
> user:root
> os:rh7.3
>
> googleda bir cok yere baktim ama denedigim seyler ise yaramadi.
>
> tesekkur ederim