Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

apache stuff

  • 19-07-2001 11: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,848 ✭✭✭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