Ibara updated 5 December 2020 kwa 4 h 02 me

 

Jinsi ya kuongeza folder virtual na eneo zaidi ya tovuti kuu.

maelekezo zinazotolewa na kijenzi hiki kutumika kuendesha na kudhibiti URLs na maswali ya kuwasili kwenye kompyuta. Lakabu na ScriptAlias ​​maelekezo hutumika kulinganisha URL na mfumo wa faili njia. Hii kutumika maudhui kwamba huishi katika mti DocumentRoot kama kwamba walikuwa kweli huko.
rahisi sana kuanzisha.
Katika conf.php faili, Nakili na kuweka mistari ifuatayo kati :

# "${SRVROOT}/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
et
<IfModule mime_module>
(environ ligne 400 de votre ficchier de configuration apache)

mfano:

Alias "/gallerie-photo" "C:/server/photographie/"
<Directory "C:/server/photographie/">
        Options Indexes MultiViews
        AllowOverride all
    	Require all granted
</Directory>

Nini unahitaji kubadilisha:

>Alias "/ici taper le lien exact-cet espace doit être plein, sans espace, inclure tiret ou underscore si vous le souhaitez" "C:/chemin vers le dossier"
<Directory "C:/chemin vers le dossier/">
        Options Indexes MultiViews
        AllowOverride all
    	Require all granted
</Directory>

5
5.0 rating
5 / 5 nyota (3 mtazamo)
Mufti100%
Vizuri sana0%
Wastani0%
Maskini0%
kutisha0%

kufuta

 

Kiwango cha makala hii

C:wamp64binapacheapache2.4.39confhttpd.conf

5.0 rating
1 Januari 2021

asante

5.0 rating
31 December 2020

asante

5.0 rating
31 December 2020

kuondoka na Jibu

Anwani yako si kuchapishwa. Mashamba required ni alama *