Solved

Weird Apache Problem

Posted on 2000-03-14
4
196 Views
Last Modified: 2013-12-15
Hi All,

  I have a really annoying apache problem. I'm trying to define HEADER and README file via the ReadmeName and HeaderName directives. As far as apache is considered the configuration is ok, as running 'apachectl configcheck' reports no errors.
  However, when I come into the directory, the files do not appear in the page. If you have no idea what I'm talking about, I mean that I gave directory view permission on a directory, then on top there should be the HEADER text, and on the bottom should be the README text.

Any comments will be available.
0
Comment
Question by:nirsim
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2615861
What version of Apache are you using and can I please see the section of your conf file that defines the directory?
0
 
LVL 2

Accepted Solution

by:
bernardh earned 350 total points
ID: 2616898
Header and Readme files should be relative to the directory you are indexing. Say you are indexing the directory /internet, your file should be located on /internet/HEADER.html or /internet/HEADER

and make sure mod_dir module exist on your server
0
 
LVL 2

Expert Comment

by:bernardh
ID: 2616918
oops, the module mod_dir is in the mod_dir.c file, and is compiled in by default.
0
 
LVL 2

Author Comment

by:nirsim
ID: 2617530
Hi There,

  Well, your answer wasn't complete, but it had given me a pointer where to look. Aparently, if you leave the directive as ReadmaName README, the apache will disregard the README file. So, I changed it to README.txt, and now it works. :-)

Regards,
  Nir Simionovich
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
error log using ftp 7 83
IP 10.0.1.2 / 255.0.0.0 61 81
exchange, squid, proxy, linux 6 43
How to fix Dual Server Conflict GitLab vs Apache2 3 21
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question