Basic IHS question...displaying htm in user directory.

Basic IHS question...displaying htm in user directory.

Post by Joe Dut » Fri, 17 May 2002 04:59:05



I have installed IBM HTTP Server on AIX 4.3.3.  I have an html
document in /home/username/public_html/documentation/home.htm.  I
thought I could access it with
http://server_name/~username/documentation/home.htm.  It tells me that
the page cannot be found.  I am new to IHS.  What do I need to do to
get to that directory?  Thanks!!
 
 
 

Basic IHS question...displaying htm in user directory.

Post by Jeff Trawic » Fri, 17 May 2002 05:19:27



> I have installed IBM HTTP Server on AIX 4.3.3.  I have an html
> document in /home/username/public_html/documentation/home.htm.  I
> thought I could access it with
> http://server_name/~username/documentation/home.htm.  It tells me that
> the page cannot be found.  I am new to IHS.  What do I need to do to
> get to that directory?  Thanks!!

You need to use the UserDir directive, described at

  http://httpd.apache.org/docs-2.0/mod/mod_userdir.html#userdir

Make sure mod_userdir is loaded (LoadModule and AddModule statements).

Are any messages written to error_log when the page is requested?

--

Born in Roswell... married an alien...

 
 
 

1. Very basic problem for a basic user....counting pipes and appending to the end of line.

I am trying to work through a file line by line...each line needs to have a
total of 4 "|" (pipes) that divide columns for a database load file.
Some have four already, some don't.
What is the best way to check each line and just append pipes to the end of
the lines that need them?

For example:

1234| Blah blah blah |
1235| Blah blah blah |ljfldkjf|

would become

1234| Blah blah blah | ||
1234| Blah blah blah |ljfldkjf||

Thanks in advance...

2. X86 - TP750C

3. basic directory permissions question

4. modprobe: cannot locate xxxx

5. ".htm" files displayed as text...

6. disabling pppd debug messages

7. User configuration of the way server displays a directory index

8. Can someone please explain this to me?

9. Some basic unix directory listing questions

10. Read strings from one file and search for them in a directory containing htm files

11. How to stop Apache showing directory listing if no index.htm/html

12. security for many users... (basic question)

13. Basic basic troff question??!