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 the lampp on the system workin.

i set it up by YAST - (with the sheme-installations) how to get it working. How to configure the apache?

How can I set up apache2 in ~/public_html?

btw: i have that file found:

#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#

<IfModule mod_userdir.c>
    # Note that the name of the user directory ("public_html") cannot easily be
    # changed here, since it is a compile time setting. The apache package
    # would have to be rebuilt. You could work around by deleting
    # /usr/sbin/suexec, but then all scripts from the directories would be
    # executed with the UID of the webserver.
    # 
    # To rebuild apache with another setting you need to change the 
    # %userdir define in the spec file. 

    # not every user's directory should be visible:
    UserDir disabled root

    # to enable UserDir only for a certain set of users, use this instead:
    #UserDir disabled
    #UserDir enabled user1 user2


    # the UserDir directive is actually used inside the virtual hosts, to 
    # have more control
    #UserDir public_html

    <Directory /home/*/public_html>

        AllowOverride FileInfo AuthConfig Limit Indexes
        Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec

        <Limit GET POST OPTIONS PROPFIND>
            Order allow,deny
            Allow from all
        </Limit>

        <LimitExcept GET POST OPTIONS PROPFIND>
            Order deny,allow
            Deny from all
        </LimitExcept>

    </Directory>

</IfModule>
share|improve this question
    
yes - thx for editing –  zero Feb 27 '12 at 10:06
    
have this file found - see the initial posting –  zero Feb 27 '12 at 10:11
    
I think it should suffice to uncomment #UserDir public_html, then restart apache. But I'm no expert on this specific thing. –  slhck Feb 27 '12 at 10:18
    
hi there - great to hear from you - will try to do so - greetings from europe –  zero Feb 27 '12 at 10:51
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.