apache 2.2.16 and directory

apache 2.2.16 and directory

am 27.09.2010 08:16:37 von Alain Roger

--00c09f899467c6420c049137ab2a
Content-Type: text/plain; charset=ISO-8859-1

Hi,

when i use apache httpd under windows i have no problem to setup it, however
under fedora 13 i have some little problems.
I guess it is due to my limited knowledge of Fedora 13 and apache
collaboration.

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 ?

--
Alain
-----------------------------------------------------------
Windows 7 x64 / Fedora 13
PostgreSQL 8.3.5 / MySQL 5
Apache 2.2.16
PHP 5.3.1
C# 2005-2008

--00c09f899467c6420c049137ab2a
Content-Type: text/html; charset=ISO-8859-1

Hi,

when i use apache httpd under windows i have no problem to setup it, however under fedora 13 i have some little problems.
I guess it is due to my limited knowledge of Fedora 13 and apache collaboration.


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:



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 ?


--
Alain
-----------------------------------------------------------
Windows 7 x64 / Fedora 13
PostgreSQL 8.3.5 / MySQL 5
Apache 2.2.16
PHP 5.3.1
C# 2005-2008


--00c09f899467c6420c049137ab2a--

Re: apache 2.2.16 and directory

am 28.09.2010 14:01:53 von Toomas Aas

E, 27 sept 2010 kirjutas Alain Roger :

> 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 for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org