Cazanova 0 Denunciar post Postado Agosto 13, 2007 Oi pessoal eu instalei o XAMPP 1.63. Dei uma fuçada no apache e descobri que tem como alterar a pasta onde o apache é executado, alterei o arquivo httpd.conf trocando DocumentRoot=c:/xampp/htdocs por um outro caminho qualquer e funcionou. Gostaria de saber como faço para funcionar quando esse caminho for algo como \\computador2\php em outro computador na rede, ja tentei fazer papeamento e colocar o caminho assim e não funcionou, como posso resolver esse problema e se é possível né... Abaixo segue o treixo do httpd.conf que tem o DocumentRoot ## ServerName gives the name and port that the server uses to identify itself.# This can often be determined automatically, but we recommend you specify# it explicitly to prevent problems during startup.## If your host doesn't have a registered DNS name, enter its IP address here.#ServerName localhost:80## 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:/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:/xampp/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 Includes ExecCGI # # 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 All # # Controls who can get stuff from this server. # Order allow,deny Allow from all</Directory>## DirectoryIndex: sets the file that Apache will serve if a directory# is requested.#<IfModule dir_module> DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml</IfModule> Compartilhar este post Link para o post Compartilhar em outros sites
jonata 0 Denunciar post Postado Agosto 14, 2007 CARA NÃO LI TOTALMENTE TEU POST MAS...JÁ TENTOU ASSIM:IP_PC2/DIRETÓRIO...... Compartilhar este post Link para o post Compartilhar em outros sites
Cazanova 0 Denunciar post Postado Agosto 14, 2007 CARA NÃO LI TOTALMENTE TEU POST MAS...JÁ TENTOU ASSIM:IP_PC2/DIRETÓRIO......Sim eu tenteu dessas maneiras:\\10.1.1.98\Desenvolvimento-Linux\\CHINA\Desenvolvimento-Linuxe mapeando os diretorios e tmb não consegui Compartilhar este post Link para o post Compartilhar em outros sites
weller.miranda 0 Denunciar post Postado Agosto 14, 2009 Oi pessoal eu instalei o XAMPP 1.63. Dei uma fuçada no apache e descobri que tem como alterar a pasta onde o apache é executado, alterei o arquivo httpd.conf trocando DocumentRoot=c:/xampp/htdocs por um outro caminho qualquer e funcionou. Gostaria de saber como faço para funcionar quando esse caminho for algo como \\computador2\php em outro computador na rede, ja tentei fazer papeamento e colocar o caminho assim e não funcionou, como posso resolver esse problema e se é possível né... Abaixo segue o treixo do httpd.conf que tem o DocumentRoot # # ServerName gives the name and port that the server uses to identify itself. # This can often be determined automatically, but we recommend you specify # it explicitly to prevent problems during startup. # # If your host doesn't have a registered DNS name, enter its IP address here. # ServerName localhost:80 # # 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:/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:/xampp/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 Includes ExecCGI # # 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 All # # Controls who can get stuff from this server. # Order allow,deny Allow from all </Directory> # # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # <IfModule dir_module> DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml </IfModule> é o seguinte, você tem q desabilitar o FIREWALL do Windows XP naonde o xampp está instalado! e para acessar o 'xampp' pela rede você tem q entrar no navegador e digitar: http://ENDEREÇODEIP/xampp/ abraços! ;D Compartilhar este post Link para o post Compartilhar em outros sites
Matias Rezende 50 Denunciar post Postado Agosto 14, 2009 weller.miranda, este tópico é de 2007. Se quiser ajudar, ajude quem ainda precisa. Carlos Eduardo Compartilhar este post Link para o post Compartilhar em outros sites