Re: apache 2.2.16 and directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



E, 27 sept  2010 kirjutas Alain Roger <raf.news@xxxxxxxxx>:

like under Windows OS, i would like to have different directories under
fedora which will represent my different tools.
for example if my fedora server address is 192.168.1.2 and i have a tool
named 'tool1' URL should look like:
192.168.1.2/tools1/

where 'tool1' should be be found in /var/www/html/tool1/ directory.

how can i do that under fedora ?
Should the directory have particular rights ?

If your DocumentRoot is set to /var/www/html and this directory already exists, then just:

cd /var/www/html
mkdir tool1
(copy whatever files you need into this directory).

Rights of this directory should allow the user your Apache is running as (possibly www) read, but not write files in this directory. In a typical environment, this is what tends to happen without any further operator intervention, but you should verify the rights using 'ls -l'.

--
Toomas Aas


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux