Results 1 to 4 of 4

Thread: Apache

  1. #1
    Junior Member
    Join Date
    Jan 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Apache

    hi sir,

    i have installed apache on centos , it's working fine welcome page displaying when i type localhost

    problem -:now i want that i add one page example dasboard.html and want that when i type url localhost/dashboard.html then content of my page should display over the console.

    how this can be done

    thanks,

  2. #2
    Senior Member Rahul.Patil's Avatar
    Join Date
    Feb 2012
    Location
    Mumbai india
    Posts
    447
    Thanks
    10
    Thanked 46 Times in 43 Posts
    Rep Power
    6

    Default

    Hi,

    You just need to below things:

    if apache installed using yum or it's default installed then create your html file in "/var/www/html/" then try to open it via browser.
    if apache compile then create file in "htdoc" where you installed , default compile is "/usr/local/apache2/htdocs"
    Rahul Patil <http://www.linuxian.com>

  3. #3
    Junior Member
    Join Date
    Jan 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Request

    Quote Originally Posted by Rahul.Patil View Post
    Hi,

    You just need to below things:

    if apache installed using yum or it's default installed then create your html file in "/var/www/html/" then try to open it via browser.
    if apache compile then create file in "htdoc" where you installed , default compile is "/usr/local/apache2/htdocs"

    hi sir ,

    its my humble request to you to provide ur email id so that i may contact u personally when ever i trapped in trouble related to linux.... iam new to this field working hard to make myself good in linux ... n have good future...

    as per ur direction i have made my html page in /var/www/html/ but when i tried to open it on browser it doesnot opens. below is the way i tried to open my page.
    i typed my_index.html over browsers url in centos. but no success. kindly suggest how to proceed.
    thanks.

  4. #4
    Senior Member Rahul.Patil's Avatar
    Join Date
    Feb 2012
    Location
    Mumbai india
    Posts
    447
    Thanks
    10
    Thanked 46 Times in 43 Posts
    Rep Power
    6

    Default

    Hi,

    You can check through
    HTML Code:
    elinks http://127.0.0.1/my_index.html
    from you apache server
    and also you can check error logs for debugging your issue , so you can simply run below command to check errors logs
    Code:
    tail -f /var/log/httpd/error*
    also try to disable iptables service if it running .
    Rahul Patil <http://www.linuxian.com>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Fedora Linux 2: Update Apache 1.3.41 to Apache 2.x
    By jan2000_1 in forum Web servers
    Replies: 0
    Last Post: 24th April 2011, 01:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41