Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-09-2003, 12:49 PM   #1
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 *>
DocumentRoot /var/www/mycompany
DirectoryIndex Welcome to my company in Fredericton, New Brunswick.htm
Old 05-09-2003, 12:57 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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

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
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


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 07:55 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration