🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: uch.ing.dcc
Article #90

Re: Apache, CGI's, me tienen vuelto loco!!!

#90
From: Daniel Morales L.
Date: Thu, 17 Aug 2000 00:00
66 lines
2797 bytes
In uch.ing.dcc Cristi?n Rojas Poblete <crirojas@cec.uchile.cl> wrote:
> Bueno, la verdad es que me meti al httpd.conf, y es extremadamente
> complicado. Yo cree en mi cuenta un subdirectorio public_html, para poder
> "publicar" mi cuenta como http://localhost/~cristian  y apache
> simplemente me manda a freir monos, ya que me dice que no tengo
> autorizacion para entrar. Que hago?


fijate que en tu httpd.conf hayan unas linea como la que sigue:

#
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received.
#
<IfModule mod_userdir.c>
    UserDir public_html
</IfModule>


Para configurar los permisos especificos mira las siguientes lineas en
tu httpd.conf

#
# Control access to UserDir directories.  The following is an example
# for a site where these directories are restricted to read-only.
#
#<Directory /home/*/public_html>
#    AllowOverride FileInfo AuthConfig Limit
#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
#    <Limit GET POST OPTIONS PROPFIND>
#        Order allow,deny
#        Allow from all
#    </Limit>
#    <LimitExcept GET POST OPTIONS PROPFIND>
#        Order deny,allow
#        Deny from all
#    </LimitExcept>
#</Directory>

quita los gatos y fijate en las Options

> Ahora, para hacer efectivos los cambios en http.conf debo apagar y
> reiniciar apache. Como?

apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help)

ademas esta el tipico man apachectl :)

> Lo otro, seria un poco barsa de mi parte, pero , alguien podria POSTEAR su
> httpd.conf para yo sacar ideas de ahi de como hacer correr mis CGI's etc,
> e incluso activar mi cuenta como yo dije que queria hacerlo
> (http://localhost/~cristian)

veamos como vas con esto, sino tendremos que ver un ejemplo real :)

> Muchas gracias de antemano. Bye.

> Cristi?n Rojas Poblete
> Dise?ador Web - Estudiante de Ingenieria Universidad de Chile
> E-Mail: sagittarius_wpd@hotmail.com, crirojas@cec.uchile.cl
> Curriculum Web: http://transfiguracion.iglesia.cl/crojas

Saludos
Daniel
-- 
Sin prisa y sin pausa
Technical Details
Message-ID: <8nh26o$gi9$1@sunsite.dcc.uchile.cl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <Pine.SOL.4.21.0008171008060.5062-100000@cipres.cec.uchile.cl>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: faaa5,cb21b83bdc048d45
X-Google-Attributes: gidfaaa5,public
X-Google-Thread: 1054ea,cb21b83bdc048d45
X-Google-Attributes: gid1054ea,public
From: "Daniel Morales L." <dmorales@dichato.dcc.uchile.cl>
Subject: Re: Apache, CGI's, me tienen vuelto loco!!!
Date: 2000/08/17
Message-ID: <8nh26o$gi9$1@sunsite.dcc.uchile.cl>
X-Deja-AN: 659382035
References: <Pine.SOL.4.21.0008171008060.5062-100000@cipres.cec.uchile.cl>
Organization: DCC - Universidad de Chile
User-Agent: tin/1.4.1-19991201 ("Polish") (UNIX) (SunOS/5.6 (sun4u))
Newsgroups: uch.ing.dcc,chile.comp.unix