Apache2... permissions

I have apache2 and am trying to install openSIS but the text in the browser says the following…

Access Forbidden!
You don’t have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.

Error 403

192.168.2.6
Thu Mar 4 21:19:12 2010
Apache/2.2.13 (Linux/SUSE)

I would like to know how to remove that page and how to install openSIS in suse with the software repositories. I have installed the software and it is in /srv/www/openSIS I think that it is supposed to be in /srv/www/htdocs/openSIS but I have no Idea I am yes, a puzzled penguin

Looks like it’s already in the education repo:

Education/Applications/Server - openSUSE

Did you get the packages from there?

yes, I said I got the package the largest problem is that I can not find out the permissions for apache2, I am the administrator of the computer (as in the first account setup) also my password is the same as for the root… I have no idea how to fix that… it is first priority…

Basically, I have full access to everything…

Did it really install in /srv/www/openSIS? That’s bad packaging, they should have provided a Apache config to allow the Apache to serve it. (Nothing to do with you being root or not, but rather Apache not being told to allow it, as the default is secure.)

Put this in /etc/apache2/vhosts.d/opensis.conf:


Alias /openSIS /srv/www/openSIS
<Directory /srv/www/openSIS>
        Order allow,deny
        Allow from all
</Directory>

and restart Apache. It will then be at http://blahblah/openSIS

One of the reasons you’ll get error 403 is because the permissions on the
file Apache is trying to server isn’t set to allow “others” to read the
file. It looks like Apache itself is working just fine. The directory
permissions should be checked as well. Use whatever method you’re used to
for checking the file permissions like right-clicking and going to
Properties or using ls -al at the command prompt and changing with chmod.
Apache will also check the permissions set for the directory in the
/etc/apache2/httpd.conf and default-server.conf files.

stephenmac7 wrote:

>
> yes, I said I got the package the largest problem is that I can not find
> out the permissions for apache2, I am the administrator of the computer
> (as in the first account setup) also my password is the same as for the
> root… I have no idea how to fix that… it is first priority…
>
>

Please download the latest version of opensis from openSIS | Open Source Student Information System

unzip it and put the folder inside /srv/www/htdocs

then right click on the folder, select Properties. Select Permissions tab.

Change the Owner and the Group to WWW Daemon Apache
Folder access should be Create and Delete
File Access should be Read and Write

At the bottom, there in an option for Others. Make the Folder access to Create and Delete and File Access to Read and Write

Click Apply Permissions to Enclosed Files and close the dialog box.

You should be able to install openSIS now.

If you still have problem, email me at info@os4ed.com

Thanks.

I now get a loop problem it says it redirects to many times