• Adding Some HTML
  • L in u X ba sics for h acke rs g e t t I n g s t a r t e d w I t h




    Download 7,3 Mb.
    Pdf ko'rish
    bet125/125
    Sana14.05.2024
    Hajmi7,3 Mb.
    #232858
    1   ...   117   118   119   120   121   122   123   124   125
    Bog'liq
    linuxbasicsforhackers

    service apache2 start
    Now that Apache is running in the background, it should be able to 
    serve up its default web page. Enter http://localhost/ in your favorite web 
    browser to bring up the web page, which should look something like 
    Figure 12-1.
    Figure 12-1: The Apache2 Web Server default page
    As you can see, Apache displays “It works” as its default web page. Now 
    that you know your Apache Web Server is working, let’s customize it!


    124
    Chapter 12
    Editing the index.html File
    Apache’s default web page is at /var/www/html/index.html. You can edit the 
    index.html file to serve up whatever information you want, so let’s create our 
    own. For this, you can use any text editor you please; I’ll be using Leafpad. 
    Open up /var/www/html/index.html and you should see something like 
    Listing 12-1.
    "http://www.w3.org/TR/xhtm11/DTD/xhtm11-transitional.dtd">

    u
    Apache2 Debian Default Page: <a href="/epc-exhibit-129-31-4-march-24-2008.html">It works</a>


    Using and Abusing Services
    125
    If you want to learn hacking, Hackers-Arise.com
    is the best place to learn hacking!
    Download 7,3 Mb.
    1   ...   117   118   119   120   121   122   123   124   125




    Download 7,3 Mb.
    Pdf ko'rish

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    L in u X ba sics for h acke rs g e t t I n g s t a r t e d w I t h

    Download 7,3 Mb.
    Pdf ko'rish