Visualizzazione dei risultati da 1 a 6 su 6
  1. #1
    Utente di HTML.it
    Registrato dal
    May 2007
    Messaggi
    163

    configurare directory xampp

    ciao! ho installato xampp. vorrei modificare la directory root.
    dal terminale ho modificato i permessi 777 a /opt/lamp. poi ho aperto httpd.conf e alla riga 179 ho modificato la path /opt/lampp/htdocs con /home/mioutente/miadir.
    però quando vado a digitare localhost sul browser, vengo sempre reindirizzato a localhost/xampp.

    come faccio?

  2. #2
    lo hai messo in:

    #
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    #
    DocumentRoot "/srv/http"



    o forse intendi:

    # User home directories
    Include conf/extra/httpd-userdir.conf




    p.s.
    http://wiki.ubuntu-it.org/Server/Xampp

  3. #3
    Utente di HTML.it
    Registrato dal
    May 2007
    Messaggi
    163
    riga 179:

    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    #
    DocumentRoot "/opt/lampp/htdocs"


    riga 207:
    # This should be changed to whatever you set DocumentRoot to.
    #
    <Directory "/opt/lampp/htdocs">


    ho modificato questo

  4. #4
    vuoi dire questo?


    <Directory "/opt/lampp/htdocs">
    #
    Options Indexes FollowSymLinks
    #
    AllowOverride None
    #
    Order allow,deny
    Allow from all

    </Directory>

  5. #5
    Utente di HTML.it
    Registrato dal
    May 2007
    Messaggi
    163
    sarcade intendo questo:

    #ServerName www.example.com:80
    # XAMPP
    ServerName localhost

    #
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    #
    DocumentRoot "/home/nephilim/htdocs"

    #
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    #
    # First, we configure the "default" to be a very restrictive set of
    # features.
    #
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    #XAMPP
    #Order deny,allow
    #Deny from all
    </Directory>

    #
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    #

    #
    # This should be changed to whatever you set DocumentRoot to.
    #
    <Directory "/home/nephilim/htdocs" >
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #



    io ho modificato le parti in rosso

  6. #6
    che hai dentro questo "paragrafo"?

    <Directory "/home/nephilim/htdocs" >
    ...
    ...
    ...
    </Directory>

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.