LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-31-2012, 06:01 AM   #1
rajini23
Member
 
Registered: Sep 2011
Posts: 162

Rep: Reputation: Disabled
Unhappy Wants to launch the html site through apache


Hi,

I have configured my Apache server in redhat Linux 5
httpd service has been installed and started the service.
and also i have configured in http.conf file..
i can able to open the index.html file through Mozilla firefox...

but i have created one more file called test.html in /var/www/html.. and i have linked that file with index.html using <a href> ...

not able to access that linked file test.html in Mozilla getting an error that...

" /var/www/html/test.html" not found in the apache server"

Please help me on this......
 
Old 01-31-2012, 06:28 AM   #2
mecelec415
Member
 
Registered: Jan 2008
Location: Noble Park ,Victoria, Australia
Distribution: Mageia
Posts: 183
Blog Entries: 2

Rep: Reputation: 23
Is the way you made the link correct ?
try linking to the full address of http://yoursite.com/test.html or just link to test.html.
I gather test.html works when you go to it with your browser
 
Old 01-31-2012, 10:27 PM   #3
rajini23
Member
 
Registered: Sep 2011
Posts: 162

Original Poster
Rep: Reputation: Disabled
Thanks for your update,I have tried test.html file using http://localhost.com/test.html it is working fine.

When i user http://localhost.com/index.html it opens the index.html file inside that i made a link for test.html when i click that link.

It is showing error has /var/www/html/test.html not found on the server......
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
New Site Launch: LinuxExchange.org jeremy Linux - News 56 03-08-2013 03:34 AM
Nginx + Apache. Always get /var/www/html/index.html angryrabbit Linux - Server 1 11-27-2011 04:56 PM
Apache site redirects using what rule? foo.site.com -> www.site.com/foo LaughingBoy Linux - Server 2 04-16-2009 09:51 PM
Apache-HTML can't open dir on web site comprookie2000 Linux - Networking 4 03-07-2005 02:40 PM
Can't launch Konqueror for HTML Sirius78 Linux - Newbie 4 08-28-2004 01:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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

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