LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-09-2003, 12:49 PM   #1
SSBN
Member
 
Registered: Apr 2003
Posts: 80

Rep: Reputation: 15
index.html renaming in Apache


Can anyone tell me if instead of having index.html as an index file if I could have

Welcome to my company in Fredericton, New Brunswick.htm

As the index file. How would i do it.
I tryed this but it didn't work.

<VirtualHost *>
ServerName hometectest.com
DocumentRoot /var/www/mycompany
DirectoryIndex Welcome to my company in Fredericton, New Brunswick.htm
</VirtualHost>
 
Old 05-09-2003, 12:57 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Yes - Just change:
DirectoryIndex Welcome to my company in Fredericton, New Brunswick.htm

to:
DirectoryIndex "Welcome to my company in Fredericton, New Brunswick.htm"

Spaces in a DirectoryIndex directive denote separate files.
 
Old 05-09-2003, 07:57 PM   #3
evilRhino
Member
 
Registered: Oct 2002
Distribution: Red Hat 7.3, 8.0
Posts: 33

Rep: Reputation: 15
another idea:
ln -s "Welcome to my company in Fredericton, New Brunswick.htm" index.html

just creates a symbolic link to the file
 
  


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
Apache does not open index.html ekinox Linux - Software 15 05-01-2005 12:21 PM
[apache 2.0] can't get index.html to load fraggie Linux - Software 5 04-09-2005 05:55 AM
apache is skipping index.html spicychicken Linux - Software 1 02-15-2005 01:25 AM
Cant find apache index.html LinuxBlackBox Linux - Software 4 11-17-2003 10:35 AM
can't view apache index.html jefftrwmy Linux - Software 1 04-24-2002 08:57 PM


All times are GMT -5. The time now is 12:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration