Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-29-2008, 10:58 PM   #1
LQ Newbie
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
Creating Apache Alias for /httpd/manual

Hello, I'm currently trying to configure my server so the online manual will be accessible through the browser. The manual is located in the /httpd/manual directory. The absolute path to the manual on my machine is
/home/int420_081a24/httpd/manual. I'm having some issues configuring the Alias for the manual.

I simply get a 404 not found error.

Here is what the Alias section of my httpd.conf file looks like. Any help on how to resolve the error would be appreciated. Thanks


<IfModule alias_module>

 Alias /manual "/home/int420_081a24/httpd/manual"
    <Directory "/home/int420_081a24/httpd/manual">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all

    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:dso.html
    # Redirect permanent /foo 

    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL.  You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.

    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client.  The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAlias /cgi-bin/ "/home/int420_081a24/httpd/cgi-bin/"

Old 01-30-2008, 02:53 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,813

Rep: Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862
You should take a look first at apache error_log to see if you find out what's wrong. Perhaps apache cannot read the specified directory since it's under your homedir.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble creating alias coldbeerz Linux - Newbie 4 11-19-2007 11:37 AM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 08:24 AM
Apache - creating an alias to access a cd-rom or DVD. verlossen Linux - Software 2 11-23-2005 07:14 AM
manual start httpd treotan Fedora 2 12-08-2004 09:08 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 11:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:19 PM.

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