Ibara updated 4 Februari 2020 kwa 5 h 38 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>

0
0.0 rating
0 nje ya 5 nyota (kulingana na 0 Maoni)
Mufti0%
Vizuri sana0%
Wastani0%
Maskini0%
kutisha0%
kufuta
Kiwango cha makala hii

kuondoka na Jibu

Anwani yako si kuchapishwa. Mashamba required ni alama *