Introduction
Web servers are widely used in today's world to deliver dynamic web pages to users surfing the internet. When a client makes a new request through a web browser, the server processes the request, converts the page from the dynamic language to html and sends it to the browser. This has a lot of advantages because the browser can send parameters to the server which change the content that is generated by the server.
Server Side Includes
SSI is a simple programming language which was developed a while ago, way before dynamic web languages like php where born. SSI only supported one type : text but at the time it was enough to make web pages a bit more dynamic.
Sessions
In today's advanced websites, information needs to be consistently stored. Variables is a way to store data but after the page refreshes, that variable is lost forever unless it is stored in a file, cookie or a database. In order to keep variables between different pages there's a special variable which is called a Session cookie which enables someone to store data throughout the pages and is cleared out when the session expires. This type of variable is generally used for login information including purposes such as storing of personal data & user type.
XAMPP
It best that a devloper has a local server where he can test all his work. This relieves the developer from uploading a file every time he wants to test it. Mysql and PHP are different modules and needed to be installed separately in the past.A group of members have setup a package including all the necessary modules needed for a local web server & distribute it for free. This is called XAMPP and one can download the package here.
Problems
Since we wanted to make our web server accessible to other pc's from the same network(also external network), after making sure that my firewall allowed connections through port 80, I jumped to another PC to try to access my server. To my surprise, an error popped up stating that the server is not accessible and the reason was a new Xampp security featue. Some configuration in the httpd.xampp.conf found in <XAMPP DIRECTORY>/apache/conf/extra, had the wrong configuration. Here is a simple fix which will relieve this problem.
Change this:
Order deny,allow
Deny from all
Allow from 127.0.0.0/8
ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
To This:
Order deny,allow
Allow from all
ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
Order deny,allow
Deny from all
Allow from 127.0.0.0/8
ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
Order deny,allow
Allow from all
ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var



