Installing httpd to /var/httpd or to /usr/local/etc/httpd

Installing httpd to /var/httpd or to /usr/local/etc/httpd

Post by Peter J. Schoenst » Fri, 27 Dec 1996 04:00:00



Hello:

Question:

If I add a user to my linux (slackware 96 2.0.0 with apache) how can I
also give him a web directory?  (automatically.  what I do now is
change their home directory to /usr/local/etc/httpd/htdocs/their_name
and I am sure this is wrong).  Also, I am just doing this on my own
lan.

What about permissions for cgi-bin for example?  I had to change the
owner of cgi-bin to the user who was logging in before he could upload
files.  I tried changing the group but this did not help.

I have looked in faqs etc. but I have not found an answer (or
recognized it).

Peter

 
 
 

Installing httpd to /var/httpd or to /usr/local/etc/httpd

Post by Santiago Alvarez Roj » Thu, 24 Apr 1997 04:00:00


Hi Peter,

allowing users to hold their own webs pages is much easier by means of
public_html directories. I think it is a default option that users can
create a directory named public_html (giving them reading-public
permission) from their unix home directory and then everybody can access
users pages with http://web-site/~username. Look for this option in apache
configuration files.

Regarding the other matter, allowing users to test their own cgi programs,
first of all you should check cgi-security issues. However, it is possible
to allow users to run cgi from their directories using control-access file
htaccess.

Hope this helps.
Santiago
-----------------------------------------------------------------
     Santiago Alvarez Rojo

        http://www.gambito.com/santiago
                     PGP-key: http://gambito.com/santiago/pgp.txt
-----------------------------------------------------------------



Quote:> Hello:

> Question:

> If I add a user to my linux (slackware 96 2.0.0 with apache) how can I
> also give him a web directory?  (automatically.  what I do now is
> change their home directory to /usr/local/etc/httpd/htdocs/their_name
> and I am sure this is wrong).  Also, I am just doing this on my own
> lan.

> What about permissions for cgi-bin for example?  I had to change the
> owner of cgi-bin to the user who was logging in before he could upload
> files.  I tried changing the group but this did not help.

> I have looked in faqs etc. but I have not found an answer (or
> recognized it).

> Peter


 
 
 

1. redhat-config-httpd doesn't write to httpd.conf

I have a fresh install of RedHat 9. I am trying to configure my
httpd.conf by redhat-config-httpd, but the tool doesn't write all of
the changes.Some are there but the other are only blanks. I have
reinstalled redhat-config-httpd and apacheconf. The rights of file are
OK.
It throws that message when I start it from console:

ApacheConf.py:2592): Gnome-CRITICAL **: file gnome-program.c: line 738
(gnome_program_get_app_id): assertion `program != NULL' failed

(ApacheConf.py:2592): Gnome-CRITICAL **: file gnome-program.c: line
738 (gnome_program_get_app_id): assertion `program != NULL' failed

(ApacheConf.py:2592): Gnome-CRITICAL **: file gnome-program.c: line
738 (gnome_program_get_app_id): assertion `program != NULL' failed

** (ApacheConf.py:2592): WARNING **: could not find handler
`on_vhost_type_omenu_selected'

** (ApacheConf.py:2592): WARNING **: could not find handler
`on_vhost_type_omenu_selected'

Can you help my make that tool write to the file?

Thank you!

2. Shared Libraries Debugging ...

3. httpd.h in Apache httpd server src tree

4. unix>>VMS

5. W3C httpd or NCSA httpd servers on Amdahl UTS2.1

6. XFree86 on Solaris 8

7. how to determine httpd.conf and httpd daemon for my webserver?

8. Solaris 2.3 Patches Fail on install

9. cern-httpd - proxy-cache - httpd.conf WANTED ???!!!

10. translator from CERN httpd configuration rules to Apache httpd conf?

11. HTTPd 1.5 dumps core when httpd.conf has "Group #-1"

12. NCSA httpd/Linux 2.0.x and 'httpd:cant resolve symbol recvmsg'

13. Test httpd.conf setup - using variables in httpd.conf