LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-25-2004, 04:51 AM   #1
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Rep: Reputation: 32
Apache documentation link error


Hi guys,

I have trustix home page up and running
when clicking the link for the Apache documentation i get the folllowing error, well i think its a error

the manual folder is under /home/httpd/html/manual and i can see all the files, perms are 0775

Here is what i see, instead of the index.html

URI: index.html.de Content-Language: de Content-type: text/html; charset=ISO-8859-1 URI: index.html.en Content-Language: en Content-type: text/html; charset=ISO-8859-1 URI: index.html.ja.jis Content-Language: ja Content-type: text/html; charset=ISO-2022-JP URI: index.html.ko.euc-kr Content-Language: ko Content-type: text/html; charset=EUC-KR URI: index.html.ru.koi8-r Content-Language: ru Content-type: text/html; charset=KOI8-R

any reason why this is happening or do i need to turn on some thing else.?

And this is my httpd.config


#
# This should be changed to the ServerRoot/manual/. The alias provides
# the manual, even if you choose to move your DocumentRoot. You may comment
# this out if you do not care for the documentation.
#
Alias /manual "/home/httpd/html/manual"

<Directory "/home/httpd/html/manual">
Options Indexes FollowSymLinks MultiViews IncludesNoExec
AddOutputFilter Includes index
AllowOverride None
Order allow,deny
Allow from all
</Directory>

P.s the only way i can view the page is like so.
http://192.168.X.X:XX/manual/index.html.en

I have the system on another port other than port 80


I'm at a lost

TT

Last edited by tommytomato; 05-25-2004 at 04:59 AM.
 
Old 05-25-2004, 05:28 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
this is my one, see if it helps:
Code:
<IfModule mod_alias.c>
AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "/home/httpd/html/manual/$1"
</IfModule>

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

        <Files *.html>
                SetHandler type-map
        </Files>
        SetEnvIf Request_URI ^/manual/de/ prefer-language=de
        SetEnvIf Request_URI ^/manual/en/ prefer-language=en
        SetEnvIf Request_URI ^/manual/fr/ prefer-language=fr
        SetEnvIf Request_URI ^/manual/ja/ prefer-language=ja
        SetEnvIf Request_URI ^/manual/ko/ prefer-language=ko
        SetEnvIf Request_URI ^/manual/ru/ prefer-language=ru
        RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2
</Directory>
 
Old 05-25-2004, 05:44 AM   #3
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
Thanks i'll give it ago..

TT
 
Old 05-25-2004, 06:00 AM   #4
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 939

Original Poster
Rep: Reputation: 32
Yer it worked thank you..

TT
 
  


Reply


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
Any documentation on Link Load Balancing pudhiyavan Linux - General 4 10-23-2008 01:42 PM
Error When Viewing Documentation with Nautilus wmakowski Red Hat 0 04-17-2005 06:20 PM
Error MSG documentation Barq Linux - General 2 11-02-2004 02:00 AM
Attach your favourite documentation link here.................. to help others...... emailssent General 1 10-11-2004 07:24 AM
apache new folder link zeky Linux - General 6 09-01-2002 08:34 PM


All times are GMT -5. The time now is 08:55 AM.

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