Hello,

Apache is a WebServer, that handles "static" content.
With modules Handlers, you can extend this to dynamic
serve like with PHP or Perl.
PHP/Perl are programming Languages, which can be use
to "create" static and/or dynamic output on server
side.
PHP code is written as text file format, and can only
be viewed on server side (if you configured your Web
Server (Apache), and don't having mistakes (Syntax
Errors) in PHP source file.
Because Your PHP (HTML) files consists of static text
or data.
To say the Apache (which serve all content related
stuff) a PHP source file can be a normal text file or
a combination/mixture of HTML, and PHP code - Apache
does all the things what are needed to create a static
WebSite.
This begin with the HTML tag <?php  and end with ?>.
Alle code that resides within this block, are served
by a PHP Handler, that must be configured in the config
file.
With Protocols like GET,POST... you can send requests
or get responses.
Therefore it give AJAX.
AJAX is mostly used by JavaScript Textfiles on Client
side.
JavaScript is a programming Language on Client Side,
which extends the HTML file format for dynamic
content.
To handle the logic of Your WebSite, PHP comes with a
bunch of functions.
So you can programming a PHP script that create/read/
write a database like MySQL, SQLite, etc..
For this (MySQL) it give a DataBase Server, what is
differnt thing as a WebServer like Apache.
A DataBase Server can be used for Desktop Applications
too.
I suggest, "not to have all server service's on one
server machines.", because the maintain..
You can configure Your Apache with differnt Office Open
Times, with differnt "static" WebSites (can be PHP
script or WebServer URL/URI).
You can configure Your Apache, to get/send Header
informations with rewrite_module.
So it is possible to read-out the Browser-Agent what
the user used at serve time Your Apache.
You can configure Your Apache, to have thousends of
Domains, and Subdomains with one IP (without having
bind9 - a Domain Name Server (DNS) installed on Your
server(s)).
You can configure Your Apache to serve WebSites with
thousends ipv6 local IP numbers without having direct
internet connection.
You can configure Your Apache to "protect" content for
display, getting with direct direcives or password per
user, and password in different password file for each
folder or protect folders per ACL groups, ip ranges ...
You can configure Your Apache with differnt DocumentRoot
folders.
I suggest: "not saving htdocs (also all Your content on
Windows drive C:. or under Windows User Home folder. So
you should always use seperate hard disk partition, and
better, not the same disk, and make Backup Your data.
This can be done by Your favorite Backup Software or
(for cheap) github.com like Software which help You to
"save" state's of Your programming process. So it could
be possible to "backport" a Project without override the
old data.".

Hope this help - HTH, Jens



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to