[debiancolombia] xampp

jaime paternina paternina jepr.88 en gmail.com
Sab Nov 3 18:19:11 COT 2007


 gracias fredy por su respuesta , lo q tengo q hacer es poner esto en el
httpd.conf



<Directory /var/www/>

#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
    Options Indexes Includes FollowSymLinks MultiViews

#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
    AllowOverride None

#
# Controls who can get stuff from this server.
#
    Order allow,deny
    Allow from all
</Directory>


y q hago con los dos Directory q hay en el httpd.conf

los borro ????????



los tres q hay son


<Directory />
    Options FollowSymLinks
    AllowOverride None
    #XAMPP
    #Order deny,allow
    #Deny from all
</Directory>




<Directory "/opt/lampp/htdocs">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
    #Options Indexes FollowSymLinks
    # XAMPP
    Options Indexes FollowSymLinks ExecCGI Includes


    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    #AllowOverride None
    # since XAMPP 1.4:
    AllowOverride All


    #
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all

</Directory>


 <Directory "/opt/lampp/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

gracias por todo
espero su pronta respuesta

Cordial saludo,
Además del parámetro DocumentRoot debe cambiar también una directiva
Directory que aparecerá más abajo en el archivo httpd.conf. En ambos
casos debe apuntar al mismo directorio, que en su caso es /var/www.
Ah, y una vez haga esto no olvide reiniciar el servicio.

Éxitos!
> buenas, navegando conseguí un programa llamado xampp , este programa
> trae incliudo Apache 2.2.6, MySQL 5.0.45, PHP 5.2.4 & 4.4.7 & PEAR +
> SQLite 2.8.17/3.3.17 y mas , yo tengo debian etch 4 , ya instale el
> xampp pero quiero cambiarle el el DocumentRoot .el predeterminado es
> DocumentRoot "/opt/lampp/htdocs" y lo quiero poner como DocumentRoot
> "/var/www" al hacer esto cuando reinicio el xampp y al poner en el
> navegador localhost me sale Forbidden
>
> You don't have permission to access /xampp/ on this
>
>
> es posible mostrar var/www con el xampp ????
>
>
> gracias de antemano
> espero su pronta respuesta
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://listas.debiancolombia.org/pipermail/general/attachments/20071103/3960abce/attachment-0001.htm 


Más información sobre la lista de distribución General