moving a server from srv/www to this one here: ~/username/public_html

hello dear folks good evening dear linux-freaks!

i want to move the lampp server to

~/username/public_html 
  • which is in my sudirectories.

well - believe it or not: i have installed my LAMP**

 in srv/www, 

**

those folders belong to root. To work as root is not so clever. You can imagine that i often get troubles with the ownership of those folders like that in terminal :

well now i want to set up the server (note: a lampp) on the correct path:

questions:

a. - does LAMPP (without vhosts or changes to httpd.conf) will only support a DocumentRoot in /opt/lampp/htdocs, What does that mean - should i install
the lampp over here!?!?
A buddy told me that: “What you do or where it is or ‘would be’ with a LAMP stack or in this distribution or that, have no bearing on a LAMPP installation.” Well - what does that mean - what does want to tell me regarding an installation of a lampp on a opensuse Version 11.4 ?!?

b. -** Permissions **- LAMPP files need to belong to nobody:root

By the way: Can i port over all the suff i allready installed in to the aopache!?
Therefore i need the modul mod_userdir see mod_userdir - Apache HTTP Server
well where can i obtain this stuff. Is it a part of a repo!?

btw 

if i have installed it then i need to configure it towards my needs:

/etc/apache2/mod_userdir.conf

and we have the following

/etc/apache2/default-server.conf

with the follwing line…

<IfModule mod_userdir.c>

for example we have the following

# WE can, however, change the ~ if we find it awkward, by mapping e.g.

Please help and advice - i need to set up the ApacheServer in the lampp on OpenSuse 11.4 soon - i need your advice

greetings

no one - !?

On 2012-02-20 01:06, dilbertone wrote:
>
> no one - !?

You will have to be patient, you are asking something complex, and in the
wrong forum.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

hi Carlos

many many thanks - yes i will be patient.

thx again

On 2012-02-20 01:46, dilbertone wrote:
>
> hi Carlos
>
> many many thanks - yes i will be patient.

I think that the alternative would be to put your user into a group that
has write permissions in /srv/www/, rather that change where the server
resides.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Hi
Just enable it in the /etc/apache2 server configuration file?

The section should be there?

apache2ctrl -M should show the modules loaded.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 1 day 4:05, 5 users, load average: 1.24, 1.28, 0.89
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU