[GLLUG] Apache Problems

Scott Harrison harris41 at msu.edu
Thu Jul 3 07:24:35 EDT 2003


Hi Tom:

http://httpd.apache.org/docs-2.0/mod/core.html#options

For example, the following should work for you (i.e. edit httpd.conf):

<Directory "/home/*/public_html">

    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI
MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options
All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please
see
    # http://httpd.apache.org/docs-2.0/mod/core.html#options
    # for more information.
    #
    Options Indexes
</Directory>

Of course, the directory permissions on public_html need to be correct
(executable by the world, or at least the group under which the apache
process runs).

Regards,
Scott

On Thu, 2003-07-03 at 01:53, Thomas Alan Hearn wrote:
> Hello All,
>   I just got an old p3 450 box so i'm booting up rh on it and i'm
going to 
> run it as a server and so forth.  I'm having a small problem with
apache 
> though.  I want the server to list the contents of a user's
public_html 
> directory when no DirectoryIndex file is present.  So say if there
wasn't an 
> index.php or index.html file it would simply list the contents of the 
> directory as it does by default in windows versions of apache.  I've
tried 
> changing listing methods and have had no luck, anyone have any ideas? 
Yes 
> I've enabled the user directory module, when I link directly to a file
> within their ~username directory it works fine, but not without. 
> 
> Rest assured I'll have plenty more questions down the road... been
having 
> some fun with configuring MySQL and some other things on the new box. 
> 
> Thanks in advance,
> Cheers,
> Tom
> _______________________________________________
> linux-user mailing list
> linux-user at egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user

On Thu, 2003-07-03 at 01:53, Thomas Alan Hearn wrote:
> Hello All,
>   I just got an old p3 450 box so i'm booting up rh on it and i'm going to 
> run it as a server and so forth.  I'm having a small problem with apache 
> though.  I want the server to list the contents of a user's public_html 
> directory when no DirectoryIndex file is present.  So say if there wasn't an 
> index.php or index.html file it would simply list the contents of the 
> directory as it does by default in windows versions of apache.  I've tried 
> changing listing methods and have had no luck, anyone have any ideas?  Yes 
> I've enabled the user directory module, when I link directly to a file 
> within their ~username directory it works fine, but not without. 
> 
> Rest assured I'll have plenty more questions down the road... been having 
> some fun with configuring MySQL and some other things on the new box. 
> 
> Thanks in advance,
> Cheers,
> Tom
> _______________________________________________
> linux-user mailing list
> linux-user at egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
-- 
Scott Harrison <harris41 at msu.edu>
Michigan State University



More information about the linux-user mailing list