djvale12887
18-07-2011, 21:04
Salve, ho un problema riguardante la cartella root di apache con xampp 1.7.1.
Ho installato xampp 1.7.1 con windows 7 ultimate 64 bit in quanto le versioni successive mi davano problemi all'avvio di apache. Preferisco prevalentemente separare i dati dal sistema ed ho diviso l'hard disk in due partizioni, C: per il sistema e D: per i dati. Su questa scia ho cercato di cambiare le impostazioni di apache, contenute nel file httpd.conf in C:/program files(x86)/xamp/apache/conf, e precisamente ho sostituito
#
# 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 "C:/Program Files (x86)/xampp/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
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 "C:/Program Files (x86)/xampp/htdocs">
con
#
# 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 "D:/XamppDocuments"
#
# 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
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 "D:/XamppDocuments">
Il problema è che riavviando il pc apache non si avvia e non ne capisco il motivo. Ho tentato anche di modificare il precorso solo in una delle due posizioni ma ugualmente apache non parte più.
Qualcuno mi può dare una mano?!? Grazie!!
Ho installato xampp 1.7.1 con windows 7 ultimate 64 bit in quanto le versioni successive mi davano problemi all'avvio di apache. Preferisco prevalentemente separare i dati dal sistema ed ho diviso l'hard disk in due partizioni, C: per il sistema e D: per i dati. Su questa scia ho cercato di cambiare le impostazioni di apache, contenute nel file httpd.conf in C:/program files(x86)/xamp/apache/conf, e precisamente ho sostituito
#
# 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 "C:/Program Files (x86)/xampp/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
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 "C:/Program Files (x86)/xampp/htdocs">
con
#
# 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 "D:/XamppDocuments"
#
# 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
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 "D:/XamppDocuments">
Il problema è che riavviando il pc apache non si avvia e non ne capisco il motivo. Ho tentato anche di modificare il precorso solo in una delle due posizioni ma ugualmente apache non parte più.
Qualcuno mi può dare una mano?!? Grazie!!