Thanks for the help earlier. I've been able to run ./configure a number of times now..
Stuck at a new place now; involving permissions. In the docs for hobbit, it says to create a custom user, and have that user in its own group. It mentioned that the hobbit user should NOT be a member of any other groups. That's all fine and good, but shouldn't it [the user hobbit] be a member of the apache group, so apache can read the 'hobbit' directories (and write to them)?
Right now, I've got a webserver telling me: "You don't have permission to access / on this server."
B. Todd Kleinert II
Network Operations Technician
333 South 520 West, #200
Lindon, Utah 84042
Office: 801.805.9700
Fax: 801.805.9701
<http://www.directpointe.com/>
CONFIDENTIAL COMMUNICATION: E-mails from DirectPointe may contain confidential material for the sole use of the intended recipient. If you received this e-mail in error, please delete the e-mail and all attachments. Thank you.
Apache will need the xx5 bit to read and execute. / is probably not related to hobbit, did you grab the apache config made by ./configure so you can get /hobbit/ ?
On 12/29/07, Todd Kleinert <tkleinert at directpointe.com> wrote:
Thanks for the help earlier. I've been able to run ./configure a number of times now..
Stuck at a new place now; involving permissions. In the docs for hobbit, it says to create a custom user, and have that user in its own group. It mentioned that the hobbit user should NOT be a member of any other groups. That's all fine and good, but shouldn't it [the user hobbit] be a member of the apache group, so apache can read the 'hobbit' directories (and write to them)?
Right now, I've got a webserver telling me: "You don't have permission to access / on this server."
B. Todd Kleinert II
Network Operations Technician
333 South 520 West, #200
Lindon, Utah 84042
Office: 801.805.9700
Fax: 801.805.9701
<http://www.directpointe.com/>CONFIDENTIAL COMMUNICATION: E-mails from DirectPointe may contain confidential material for the sole use of the intended recipient. If you received this e-mail in error, please delete the e-mail and all attachments. Thank you.
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
Yeah, I did put those lines into my httpd.conf file, and fussed with that for a couple hours.. Due to some user-related issues, I ended up reloading fedora and starting over, again. This time I used the RPM install, and would like to stick with this one. So, I need to get back into the apache files on this new OS and add in those lines, will get on that soon.
With this RPM version, what directory can I find the ./configure script? I poked around and found the actual .cfg files for hobbit, where these tidbits are implemented, but I was getting used to that ./configure stuff..
B. Todd Kleinert II
Network Operations Technician
333 South 520 West, #200 Lindon, Utah 84042 Office: 801.805.9700 Fax: 801.805.9701
CONFIDENTIAL COMMUNICATION: E-mails from DirectPointe may contain confidential material for the sole use of the intended recipient. If you received this e-mail in error, please delete the e-mail and all attachments. Thank you.
-----Original Message----- From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Saturday, December 29, 2007 7:27 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Thanks for that help earlier..
Apache will need the xx5 bit to read and execute. / is probably not related to hobbit, did you grab the apache config made by ./configure so you can get /hobbit/ ?
On 12/29/07, Todd Kleinert <tkleinert at directpointe.com> wrote:
Thanks for the help earlier. I've been able to run ./configure a number of times now..
Stuck at a new place now; involving permissions. In the docs for hobbit, it says to create a custom user, and have that user in its own group. It mentioned that the hobbit user should NOT be a member of any other groups. That's all fine and good, but shouldn't it [the user hobbit] be a member of the apache group, so apache can read the 'hobbit' directories (and write to them)?
Right now, I've got a webserver telling me: "You don't have permission to access / on this server."
B. Todd Kleinert II
Network Operations Technician
333 South 520 West, #200
Lindon, Utah 84042
Office: 801.805.9700
Fax: 801.805.9701
<http://www.directpointe.com/>CONFIDENTIAL COMMUNICATION: E-mails from DirectPointe may contain confidential material for the sole use of the intended recipient. If you received this e-mail in error, please delete the e-mail and all attachments. Thank you.
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Todd Kleinert wrote:
Yeah, I did put those lines into my httpd.conf file, and fussed with that for a couple hours.. Due to some user-related issues, I ended up reloading fedora and starting over, again. This time I used the RPM install, and would like to stick with this one. So, I need to get back into the apache files on this new OS and add in those lines, will get on that soon.
With this RPM version, what directory can I find the ./configure script? I poked around and found the actual .cfg files for hobbit, where these tidbits are implemented, but I was getting used to that ./configure stuff..
The configure script is for building hobbit. Since the hobbit rpm comes already built, there is no need.
Joe
You'll need to jump in to the configuration - probably /etc/hobbit/*
On 12/30/07, Joe Sloan <joe at tmsusa.com> wrote:
Todd Kleinert wrote:
Yeah, I did put those lines into my httpd.conf file, and fussed with that for a couple hours.. Due to some user-related issues, I ended up reloading fedora and starting over, again. This time I used the RPM install, and would like to stick with this one. So, I need to get back into the apache files on this new OS and add in those lines, will get on that soon.
With this RPM version, what directory can I find the ./configure script? I poked around and found the actual .cfg files for hobbit, where these tidbits are implemented, but I was getting used to that ./configure stuff..
The configure script is for building hobbit. Since the hobbit rpm comes already built, there is no need.
Joe
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
Thanks Josh, and Joe. I found the files I was hunting for.
Since that part of things is done for me, I now need to look for the httpd.conf file example. Once I locate that, I can refit the info found in the .cfg files into the apache conf, so that they're pointing to the same places, have all the correct capabilities, permissions etc.
Uhm, along these lines, I noticed something weird yesterday. Apache on my fedora system had a directory structure already setup, not a big surprise..however, it seems that apache was pointing to /var/www as "document root" but then the directive below it was pointing to /var/www/html - is this just a mistake on the part of the developer? Shouldn't the directory options be for the /var/www too? It just seemed weird to find that in the httpd.conf , when its obviously wrong. What gives?
B. Todd Kleinert II
Network Operations Technician
333 South 520 West, #200
Lindon, Utah 84042
Office: 801.805.9700
Fax: 801.805.9701
<http://www.directpointe.com/>
CONFIDENTIAL COMMUNICATION: E-mails from DirectPointe may contain confidential material for the sole use of the intended recipient. If you received this e-mail in error, please delete the e-mail and all attachments. Thank you.
From: Josh Luthman [mailto:josh at imaginenetworksllc.com] Sent: Sunday, December 30, 2007 12:09 PM To: hobbit at hswn.dk Subject: Re: [hobbit] Thanks for that help earlier..
You'll need to jump in to the configuration - probably /etc/hobbit/*
On 12/30/07, Joe Sloan <joe at tmsusa.com> wrote:
Todd Kleinert wrote:
Yeah, I did put those lines into my httpd.conf file, and fussed with that for a couple hours.. Due to some user-related issues, I ended up reloading fedora and starting over, again. This time I used the RPM install, and would like to stick with this one. So, I need to get back
into the apache files on this new OS and add in those lines, will get on that soon.
With this RPM version, what directory can I find the ./configure script? I poked around and found the actual .cfg files for hobbit, where these
tidbits are implemented, but I was getting used to that ./configure stuff..
The configure script is for building hobbit. Since the hobbit rpm comes already built, there is no need.
Joe
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
Todd Kleinert wrote:
Thanks Josh, and Joe. I found the files I was hunting for.
Since that part of things is done for me, I now need to look for the httpd.conf file example. Once I locate that, I can refit the info found in the .cfg files into the apache conf, so that they’re pointing to the same places, have all the correct capabilities, permissions etc.
I didn't have to do that - I just dropped hobbit-apache.conf into the appropriate directory and that took care of the apache configuration for hobbit, once apache was restarted. BTW I found that the hobbit rpm was full of redhat-isms, but I was able to adapt it to my suse servers without too much trouble.
Uhm, along these lines, I noticed something weird yesterday. Apache on my fedora system had a directory structure already setup, not a big surprise..however, it seems that apache was pointing to /var/www as “document root” but then the directive below it was pointing to /var/www/html – is this just a mistake on the part of the developer? Shouldn’t the directory options be for the /var/www too? It just seemed weird to find that in the httpd.conf , when its obviously wrong. What gives?
That should probably be /var/www/html everywhere since that is the document root on redhat -
Joe
To get my apache to autostart, at boot I did this:
Fedora Core 1
* login as root: su - (the dash allows your /sbin dir to be in $PATH)
* type: service httpd start (this starts apache)
* type: chkconfig httpd on (this sets apache to start in your current init)
I added these lines into my httpd.conf, tho its just from memory, is this the right options??
Alias /hobbit "/var/lib/hobbit/" <Directory "/var/lib/hobbit/www">
Options Indexes FollowSymlinks ExecCGI Includes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
then restarted apache
apachectl restart
then browsed to http://localhost/hobbit & what did I see? 401 message? 500 error? Nope.. the monitor was FINALLY working.. yay
Thanks guys for yer help -----Original Message----- From: Joe Sloan [mailto:joe at tmsusa.com] Sent: Sun 12/30/2007 11:31 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Thanks for that help earlier..
Todd Kleinert wrote:
Yeah, I did put those lines into my httpd.conf file, and fussed with that for a couple hours.. Due to some user-related issues, I ended up reloading fedora and starting over, again. This time I used the RPM install, and would like to stick with this one. So, I need to get back into the apache files on this new OS and add in those lines, will get on that soon.
With this RPM version, what directory can I find the ./configure script? I poked around and found the actual .cfg files for hobbit, where these tidbits are implemented, but I was getting used to that ./configure stuff..
The configure script is for building hobbit. Since the hobbit rpm comes already built, there is no need.
Joe
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
You will need two more alias directives I believe.
On 12/31/07, Todd Kleinert <tkleinert at directpointe.com> wrote:
To get my apache to autostart, at boot I did this:
Fedora Core 1
* login as root: su - (the dash allows your /sbin dir to be in $PATH) * type: service httpd start (this starts apache) * type: chkconfig httpd on (this sets apache to start in your currentinit)
I added these lines into my httpd.conf, tho its just from memory, is this the right options??
Alias /hobbit "/var/lib/hobbit/" <Directory "/var/lib/hobbit/www">
Options Indexes FollowSymlinks ExecCGI Includes AllowOverride None Order allow,deny Allow from all</Directory>
then restarted apache
apachectl restart
then browsed to http://localhost/hobbit & what did I see? 401 message? 500 error? Nope.. the monitor was FINALLY working.. yay
Thanks guys for yer help -----Original Message----- From: Joe Sloan [mailto:joe at tmsusa.com] Sent: Sun 12/30/2007 11:31 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Thanks for that help earlier..
Todd Kleinert wrote:
Yeah, I did put those lines into my httpd.conf file, and fussed with that for a couple hours.. Due to some user-related issues, I ended up reloading fedora and starting over, again. This time I used the RPM install, and would like to stick with this one. So, I need to get back into the apache files on this new OS and add in those lines, will get on that soon.
With this RPM version, what directory can I find the ./configure script? I poked around and found the actual .cfg files for hobbit, where these tidbits are implemented, but I was getting used to that ./configure stuff..
The configure script is for building hobbit. Since the hobbit rpm comes already built, there is no need.
Joe
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
When I compiled my hobbit server on Centos 5.1 I had to fix the permissions for the /home/hobbit/ directory.. it was 700.
use the chmod command to mod it to 755 and then you should be able to access the website.
Worked for me at least...
larus
From: Todd Kleinert [mailto:tkleinert at directpointe.com] Sent: 30. desember 2007 01:49 To: hobbit at hswn.dk Subject: [hobbit] Thanks for that help earlier..
Thanks for the help earlier. I've been able to run ./configure a number of times now..
Stuck at a new place now; involving permissions. In the docs for hobbit, it says to create a custom user, and have that user in its own group. It mentioned that the hobbit user should NOT be a member of any other groups. That's all fine and good, but shouldn't it [the user hobbit] be a member of the apache group, so apache can read the 'hobbit' directories (and write to them)?
Right now, I've got a webserver telling me: "You don't have permission to access / on this server."
B. Todd Kleinert II
Network Operations Technician
333 South 520 West, #200
Lindon, Utah 84042
Office: 801.805.9700
Fax: 801.805.9701
<http://www.directpointe.com/>
CONFIDENTIAL COMMUNICATION: E-mails from DirectPointe may contain confidential material for the sole use of the intended recipient. If you received this e-mail in error, please delete the e-mail and all attachments. Thank you.
-- ESVA scan result: Clean
After you set 755 on ~hobbit you need to add Alias and ScriptAlias directives. Basically DocumentRoot is irrelavent.
On 12/30/07, Lárus Rafn Halldórsson <lalli at slepja.com> wrote:
When I compiled my hobbit server on Centos 5.1 I had to fix the permissions for the /home/hobbit/ directory.. it was 700.
use the chmod command to mod it to 755 and then you should be able to access the website.
Worked for me at least...
larus
From: Todd Kleinert [mailto:tkleinert at directpointe.com] Sent: 30. desember 2007 01:49 To: hobbit at hswn.dk Subject: [hobbit] Thanks for that help earlier..
Thanks for the help earlier. I've been able to run ./configure a number of times now..
Stuck at a new place now; involving permissions. In the docs for hobbit, it says to create a custom user, and have that user in its own group. It mentioned that the hobbit user should NOT be a member of any other groups. That's all fine and good, but shouldn't it [the user hobbit] be a member of the apache group, so apache can read the 'hobbit' directories (and write to them)?
Right now, I've got a webserver telling me: "You don't have permission to access / on this server."
B. Todd Kleinert II
Network Operations Technician
333 South 520 West, #200
Lindon, Utah 84042
Office: 801.805.9700
Fax: 801.805.9701
<http://www.directpointe.com/>CONFIDENTIAL COMMUNICATION: E-mails from DirectPointe may contain confidential material for the sole use of the intended recipient. If you received this e-mail in error, please delete the e-mail and all attachments. Thank you.
-- ESVA scan result: Clean
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
participants (4)
-
joe@tmsusa.com
-
josh@imaginenetworksllc.com
-
lalli@slepja.com
-
tkleinert@directpointe.com