Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-25-2002, 04:48 PM   #1
LQ Newbie
Registered: Apr 2002
Location: Chicago, IL, USA
Distribution: Mandrake, Gentoo, mklinux ;)
Posts: 3

Rep: Reputation: 0
Setting up Apache

I hate to ask a question as broad as this, but I'm not really sure where to start. I have a low-traffic server that was running Windows 2000 Server (which really started to be horrible) that I just switched over to Mandrake. Basically, I want to set up my website to be just like it was before. I updated the html files to be shtml, and I used Netconf to set things up as far as I could from there. The page loads fine, however I have a major issue with links. Under IIS, I simply had links that pointed to a virtual directory, such as "uploads" and they would just return a raw directory listing. I can't seem to get that to work in Apache. I have tried both sym-linking to directories outside of my home html directory, and also simply creating directories inside the html directory. Is this even possible under Apache? I'm guessing yes, but I can't see how. Also, I tried setting my home html directory to a different directory but it would not work right. I would get a 403 error (forbidden) when I tried to load the page. I can see this has something to do with setting file permissions, but I'm not exactly sure what they should be set to or how to do that properly. I would greatly appreciate any help. (I don't want to be forced back to windows! no!)
Old 04-25-2002, 09:14 PM   #2
Registered: Apr 2002
Distribution: Slackware
Posts: 114

Rep: Reputation: 15
check httpd.conf

In particular, you need something like this in your Apache configuration (and inside your VirtualHosts declaration if you use it):

<Location />
Options Indexes
IndexOptions +ScanHTMLTitles -IconsAreLinks +FancyIndexing
AllowOverride None
order deny,allow
allow from all

What this particular configuration block does is for the web site root (and any directories under it):

- auto-creates an index if there is no index.(html|htm|pl|cgi|php, etc.)
- turns on fancy indexing and HTML title scanning (makes listings prettier)
- disables any .htaccess files
- sets up basic access rights (everyone can access)

Apache has VERY good documentation on their website. ( -- I highly reccomend you pull up a chair and do some reading, I learned a lot there.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up apache deftones Linux - Newbie 8 03-19-2005 05:48 PM
Setting up Apache 2... bnscomp Mandriva 1 10-09-2003 02:24 PM
Setting up Apache Big Brad Linux - Newbie 16 07-14-2003 06:04 AM
Setting up apache... another one mattbuechler Linux - Software 3 07-02-2003 11:58 AM
Setting up Apache amigatec Linux - Software 1 09-20-2002 06:43 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration