RE: Apache2 Manhattan Virtual Classroom
Simo,
Coming from a Linux nearly newbie, nothing is obvious. I am a Microsoft
System Admin and IT consultant for their products, I have a long way to go
for Linux. Here is the output from the command you gave me.
Franklin:/home/manhat# cd
Franklin:~# ls -la /home/manhat/manhat-3.1.0
total 200
drwxr-xr-x 14 manhat manhat 4096 2006-07-21 18:01 .
drwx--x--x 14 manhat manhat 4096 2006-08-02 13:26 ..
drwxr-x--- 2 root www-data 8192 2006-07-25 16:00 bin
-rw-r--r-- 1 manhat manhat 28237 2006-05-04 07:55 CHANGES
drwxrwx--- 2 root www-data 4096 2006-07-21 18:01 chat
drwxrwx--- 2 root www-data 4096 2006-07-21 18:01 clipboards
drwxrwx--- 2 root www-data 4096 2006-07-21 18:01 courses
-rw-r--r-- 1 manhat manhat 8822 2006-05-04 07:55 CREDITS
drwxrwx--- 5 manhat www-data 4096 2006-07-21 18:01 images
-rw-r--r-- 1 manhat manhat 35390 2006-05-04 07:55 INSTALL
drwxr-xr-x 2 root root 4096 2006-07-25 15:53 lib
-rw-r--r-- 1 manhat manhat 18007 2006-03-16 08:57 LICENSE
-rw-r--r-- 1 manhat manhat 2732 2006-05-04 07:55 README
drwxr-x--- 2 root www-data 4096 2006-07-25 16:00 sbin
drwxr-xr-x 12 manhat manhat 24576 2006-07-25 15:57 src
drwxrwx--- 2 root www-data 4096 2006-07-21 18:01 surveys
drwxrwx--- 2 root www-data 4096 2006-07-21 18:01 templates
drwxrwx--- 2 root www-data 4096 2006-07-21 18:01 tmp
-rw-r--r-- 1 manhat manhat 19184 2006-05-04 07:55 UPGRADE-HOWTO
drwxrwx--- 5 root www-data 4096 2006-07-21 18:01 users
Franklin:~#
My actual Manhattan Virtual Classroom configuration , which is in
/etc/apache2/sites-enable.conf is listed below.
ScriptAlias /manhat-bin/ /home/manhat/manhat-3.1.0/bin/
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
ScriptAlias /manhat-sbin/ /home/manhat/manhat-3.1.0/sbin/
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
Alias /manhat-images/ /home/manhat/manhat-3.1.0/images/
Options FollowSymLinks
AllowOverride None
Allow from all
The instructions for the installation of Manhattan are here if this helps.
http://manhattan.sourceforge.net/?Documentation:README_Files:INSTALL
Again I give you my greatest thanks. As we progrees along I am learning and
retaining what you are teaching me, I hope you can gain a sense of
satisfaction and achievement by this. I sincerely hope I can be of
assistance to you some day.
Respectfully,
Cary Pembleton
IT Consultant
PC Tech Help, LLC
32 Cove Lane
Campbellsville, KY 42718
(270) 789-0187 Office
http://www.pctechhelp.net
-----Original Message-----
From: Simo Kauppi [mailto:swk@nic.fi]
Sent: Wednesday, August 02, 2006 11:58 AM
To: debian-user@lists.debian.org
Subject: Re: Apache2 Manhattan Virtual Classroom
On Wed, Aug 02, 2006 at 11:18:00AM -0400, Cary Pembleton wrote:
> Simo,
> First of all "Thank you!" and I really mean that. I really appreciate
> this list and the=e people on it who try to help each other. I believe
> the directories are readable by www-data, since www-data is a member
> of the manhat "Group" and manhat is a member of the "www-data" group.
> How can I verify this is the case? What command can I issue to see
> what "rights" the www-data "User" and "Group" have on those
> directories? I think you make a good point, I want to explore this
possibility.
> Thanks again,
>
> Cary Pembleton
> IT Consultant
> PC Tech Help, LLC
> 32 Cove Lane
> Campbellsville, KY 42718
> (270) 789-0187 Office
> http://www.pctechhelp.net
Hi,
First check who owns the directories and what are their permissions.
Just `ls -la /home/manhat/manhat-x.x.x` will give the listing of the
directory.
The output should be something like
drwxr-xr-x 28 manhat manhat 4096 2006-08-02 16:59 .
drwxrwsr-x 3 root manhat 4096 2006-02-11 22:13 ..
drwxr-xr-x 13 manhat manhat 4096 2006-05-12 21:09 bin drwxr-xr-x 2 manhat
manhat 4096 2006-06-02 19:06 sbin drwxr-xr-x 6 manhat manhat 4096
2006-05-13 08:29 images
Don't mind the dates and times but check that the permissions are drwxr-xr-x
for '.', 'bin', 'sbin' and 'images'. The first letter means directory, the
three following letters are the permission for the owner (read, write,
execute), the three following letters are the permission for the group and
last the three letters are the permissions for everybody else.
The same applies to the files inside the directories, without the first 'd'.
If the directories have the permissions drwxr-xr-x, then everybody
(including www-data) can access them, but only manhat can write in there.
Let's not worry about writing yet, as I think your www-data cannot even read
the directory :)
One thing I did not notice in your posting: what is the DocumentRoot for
your setup?
I mean, do you have an index page e.g. in /home/manhat/manhat-x.x.x
-directory? If so, have you set your DocumentRoot accordingly?
If your DocumentRoot points e.g. to /var/www/, then you need an
alias:
Alias / /home/manhat/manhat-x.x.x
depending on the location of the index page of course.
Of course you can set your DocumentRoot directly to
/home/manhat/manhat-x.x.x
Simo
Sorry, if this is too obvious :)
> -----Original Message-----
> From: Simo Kauppi [mailto:swk@nic.fi]
> Sent: Wednesday, August 02, 2006 12:32 AM
> To: debian-user@lists.debian.org
> Subject: Re: Apache2 Manhattan Virtual Classroom
>
> On Mon, Jul 31, 2006 at 05:33:41PM -0400, Cary Pembleton wrote:
> > Good Day all Debian folks!
> > I am at my wits end! YAAAAA! I have been trying for nearly a week to
> > get this Manhattan Virtual Classroom to work on my Debian 3.1 Server
> > with Apache2. According to the installation instructions for
> > Manhattan I am to place these lines listed below in the "appropriate
place"
> > ScriptAlias /manhat-bin/ /home/manhat/manhat-x.x.x/bin/
> >
> > AllowOverride None
> > Options +ExecCGI -Includes
> > Order allow,deny
> > Allow from all
> >
> > ScriptAlias /manhat-sbin/ /home/manhat/manhat-x.x.x/sbin/
> >
> >
> > AllowOverride None
> > Options +ExecCGI -Includes
> > Order allow,deny
> > Allow from all
> >
> > Alias /manhat-images/ /home/manhat/manhat-x.x.x/images/
> >
> > Options FollowSymLinks
> > AllowOverride None
> > Allow from all
> > As I understand it, the "appropriate place" for Debian 3.1 and
> > Apache
> > 2 specifically is in a Virtual Host Directive.
> > Well this meant very little to a Apache 2 Newbie like me, so I
> > started hunting around the Internet and found a file is needed for
> > each Virtual Host and should be placed in
> > /etc/apache2/sites-enabled. Ok, so I created two files here
> > www.servername.mydomain.net and www.manhat.servername.mydomain.net .
> > I placed the "Script Alias" lines in the
> > www.manhat.servername.mydomain.net So, this all seemed well and
> > good, until I tried to go to www.manhat.servername.mydomain.net. I get
nothing, nada, zips. The typical IE crud, "page cannot be displayed"
> > So I am stuck, I just want to have a simple web page where my
> > students can log in to the virtual classroom. Can anyone give me
> > some idea of what
> I need to do here?
> > Thanks,
> >
> > Cary Pembleton
> > IT Consultant
> > PC Tech Help, LLC
> > 32 Cove Lane
> > Campbellsville, KY 42718
> > (270) 789-0187 Office
> > http://www.pctechhelp.net
>
> Hi,
>
> Without knowing anything about Manhattan Virtual Classrooms, here is
> my
> 2 cents...
>
> I guess that your virtual host files contain more than just the
> ScriptAlias directives, right?
>
> For setting up a virtual host, take a look at
> http://httpd.apache.org/docs/2.0/vhosts/
>
> Assuming that you have the Directory directives in which you have the
> Allow from all (and other necessary options), are the directories
> under /home/manhat/ accessible and readable by www-data?
>
> Simo
--
:r ~/.signature
Reply to: