Pages

Tuesday, January 11, 2011

Webserver Configurations

Apache and PHP support is installed
1. Setting domain name and Web Server in order to qualify FQDN (Fully Qualified Domain  
     Name). Edit the Apache2 configuration file
     # mcedit /etc/apache2.httpd.conf

     Fill with:
     servername www.lks10.sch.id

2. Restart the Apache2 service
     # /etc/init.d/apache2 restart
 
3. Edit Homepage, document root in / var / www
     To prove that the PHP path, discard and use index.php index.html
     # cp /var/www/index.html /var/www/index.php
     # rm /var/html/index.html


4. Create / Edit PHP script / var / www / index.php
     # mcedit /var/www/index.php

     <html> <head> </ head> <body>Welcome <h1> LKS10 Server </ h1>
     <hr>
      <h3>This server supports PHP
      <? echo phpinfo ();?>
       </ h3>
       </ body> </ html>

1 comment:

  1. Best casino games 2020 - DrMCD
    The best casino games 남양주 출장마사지 2020! Read our expert reviews, find winning free spins, and other casino games, 춘천 출장마사지 including 구미 출장안마 slots, blackjack and video poker. Rating: 계룡 출장샵 4.2 · 세종특별자치 출장샵 ‎Review by Dr

    ReplyDelete