Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have OpenSUSE 12.1 installed. I tried a lot to get a LAMP installation working. I set it up with YAST - (with the scheme-installations).

question 1: How to get it working?
question 2: How to configure the apache?
question 3: How can I set up apache2 in ~/public_html?

I always believed that by default, in openSUSE, the web server runs in the following directory: ~/public_html

But unfortunately - I installed and the path I afterwards used was the following one... :

/srv/www/

Question 4: What is wrong there?

Once I have installed like this way and had terrible problems to write to the folders Guess that the userid we use just matters. This leads to the question: How should I install the Apache so I won't have problems with permissions?

I read something about mod_userdir but don't understand it much: is it needed?

share|improve this question
1  
Did you follow these directions (including the right Apache/httpd package)? Your problem can also be fixed by manually changing the Apache configs. Also, your question is written in a really confusing manner, and your title does not match the question/problem you actually describe. –  Lèse majesté May 6 '12 at 20:10
    
many thx for the answer - will follow the instructions later the day. And i will learn to ask better questions. –  zero May 7 '12 at 8:40
add comment

1 Answer

up vote 1 down vote accepted

I believe what you are looking for is mod_userdir apache module. you can read more about the set up and configuration on the following link.

http://httpd.apache.org/docs/2.0/mod/mod_userdir.html

Also you might want to give this a bit of read:

http://httpd.apache.org/docs/2.0/howto/public_html.html

share|improve this answer
    
hello deaar gyre - many thanks for your answer and hints. greetings –  zero May 8 '12 at 23:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.