Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

apache stuff

  • 19-07-2001 10:22pm
    #1
    Registered Users, Registered Users 2 Posts: 2,518 ✭✭✭


    Trying to configure apache here so it will serve pages from users home directories as well as the document root. (ie: http://blah/~rob). Is there some system variable or option in the apache configuration file that I should look out for?

    Also, I have mod_php installed and it's parsing the files correctly but it doesnt seem to recognise index.php as the first page to load in a directory, rather it looks for index.html or index.htm. Again, is there somewhere in the apache config file that these types are declared?


Comments

  • Closed Accounts Posts: 82 ✭✭NinjaBart


    Look for details about mod_userdir on apache.org


  • Registered Users, Registered Users 2 Posts: 1,862 ✭✭✭flamegrill


    for users look in your httpd.conf file for the following
    <font face="Verdana, Arial" size="2"><IfModule mod_userdir.c>
    UserDir public_html
    </IfModule> </font>

    and
    <font face="Verdana, Arial" size="2">
    #<Directory /home/*/public_html>
    # AllowOverride FileInfo AuthConfig Limit
    # 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>
    </font>

    uncomment it and restart apache

    and for it not reading index.php

    <font face="Verdana, Arial" size="2">
    <IfModule mod_dir.c>
    DirectoryIndex index.html index.php
    </IfModule>
    </font>

    [This message has been edited by flamegrill (edited 19-07-2001).]


  • Registered Users, Registered Users 2 Posts: 2,518 ✭✭✭Hecate


    thats exactly what I needed, thanks smile.gif

    Trying not to rely too much on webmin for this stuff, gotta learn somehow smile.gif


Advertisement