LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-07-2003, 02:59 AM   #1
sopiaz57
Member
 
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Rep: Reputation: 30
apache question


can someone answer this for me:

I am in my servers's manual, checking out some of the documentation. when i type my url: http://my.url.net/manual

i dont get the default document. I do get the defauly doc when i just do the normal url, http://my.url.net


i do get the manual when i do http://my.url.net/manual/index.html.en , but i was just wondering why this is happening

Also, now that im viewing the manual, most html links dont work because they are not uncluding the .en after the .html?? whats up here?

ty!

Last edited by sopiaz57; 06-07-2003 at 03:03 AM.
 
Old 06-07-2003, 03:31 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well yes apache will search a directory, e.g http://my.url.net/manual for a list of potential index files, in order of preference. check your httpd.conf for?:

DirectoryIndex index.php index.html index.htm index.shtml

and adjust accordingly
 
Old 06-07-2003, 12:29 PM   #3
sopiaz57
Member
 
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Original Poster
Rep: Reputation: 30
i think the problem has more to do with the .en at the end of all the files
 
Old 06-07-2003, 01:58 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i know, that's why i said "adjust accordingly"....
 
Old 06-07-2003, 02:15 PM   #5
sopiaz57
Member
 
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Original Poster
Rep: Reputation: 30
oh i c, i just understood what you were getting at. Thank you for your help. not just this thread but the others as well. I know some questions were dumb!
still learnin!


ty!
 
Old 06-08-2003, 05:50 PM   #6
sopiaz57
Member
 
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Original Poster
Rep: Reputation: 30
ok, im still trying to figure this out:


i have my manual alias set,

Alias /manual "/var/www/manual"


and i named the index.html.en file in that dir to index.html

however when i browse to www.domain.com/manual

it give me this error in my access log,

[08/Jun/2003:18:55:33 -0400] "GET /manual HTTP/1.1" 301 343 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"


I added a DirectoryIndex directive in my httpd.conf and thats working, giving me index.html as the first, index.htm, then index.php and so on....i dont get this? does the alias have a special directive?

thanks in advance
 
  


Reply



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
Question - (apache?) pylon42 Linux - General 7 03-23-2005 07:55 AM
Apache Question Sideshow Linux - Networking 6 02-13-2004 05:31 PM
another apache question peteABK Linux - Software 8 05-27-2003 02:58 AM
Apache question plisken Linux - Software 1 02-25-2003 02:40 PM
apache question davsingl67 Linux - Newbie 1 12-11-2002 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:42 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
Open Source Consulting | Domain Registration