Hallo, graag zou ik de localhost van linux naar de directory /home/peter/idocs willen verwijzen. Volgens mij moet dit ergens in /ect/rc.config maar dit werkt volgens mij niet helemaal correct. Kan iemand mij een tip geven?
Verwijderd
Kan het plz iets precieser ?...
de localhost van linux naar de directory /home/peter/idocs willen verwijzen
...
localhost = de pc waarop je werkt --> een heel systeem kan je moeilijk naar een directory verwijzen, of snap ik het nu niet ?
Verwijderd
Volgensmij bedoelt hij, dat hij een andere directory als DocumentRoot wilt.
Dit is heel eenvoudig op te zoeken in de documentatie (of in de configfile).
Dit is heel eenvoudig op te zoeken in de documentatie (of in de configfile).
code:
1
2
3
4
5
6
| # # 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 "jouw_www_directory" |
code:
1
2
3
4
| # # This should be changed to whatever you set DocumentRoot to. # <Directory jouw_www_directory"> |
Als je dan al antwoord, zet er dan minimaal ff bij _welke_ config file ie aan moet passen..Op donderdag 07 februari 2002 17:32 schreef TReBLA het volgende:
Volgensmij bedoelt hij, dat hij een andere directory als DocumentRoot wilt.
Dit is heel eenvoudig op te zoeken in de documentatie (of in de configfile).
code:
1 2 3 4 5 6 # # 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 "jouw_www_directory"
code:
1 2 3 4 # # This should be changed to whatever you set DocumentRoot to. # <Directory jouw_www_directory">
Topicstarter kan natuurlijk ook ff op inet zoeken..
Verwijderd
Configfile staat toch onder /etc/httpd? -> daar via pico httpd.conf de instellingen aanpassen zoals hierboven aangegeven.
Pagina: 1