an Apache server on my PC (localhost) ?

Alles, was den Apache betrifft, kann hier besprochen werden.

an Apache server on my PC (localhost) ?

Postby kevin001 » 15. November 2013 18:06

Dose Apache works exactly like an online server ? Can I set a cookie on an apache server? Dose Apache suppot php, MySql, AJAX, XML etc. Actually WHAT is the differene, if any, between a web host on the internet and an Apache server on my PC (localhost) ?
kevin001
 
Posts: 1
Joined: 15. November 2013 17:59
Operating System: Window 7

Re: an Apache server on my PC (localhost) ?

Postby Altrea » 15. November 2013 18:56

kevin001 wrote:Dose Apache works exactly like an online server ?

Not clearly answerable.
following i assume by "Apache" you mean "Apache HTTPD" and not "Apache Tomcat" or another Apache project.

kevin001 wrote:Can I set a cookie on an apache server?

You can set Cookies with Apache HTTPD module mod_headers
But i believe that is not what you want to do.

kevin001 wrote:Dose Apache suppot php [...]

Apache HTTPD supports to implement an PHP interpreter. It can not natively parse php code.

kevin001 wrote:[...] MySql [...]

rudimentary with mod_dbd
But i believe that is not what you want to do

kevin001 wrote:[...] AJAX [...]

AJAX doesn't make sense without a serverside running programming language, so natively: no.

kevin001 wrote:XML

XML is just a plain text format. Apache HTTPD can output all plain text formats like HTML, XML, txt, YAML, etc. But the magic behind this have to be done by a serverside programming language or clients browser.

kevin001 wrote:Actually WHAT is the differene, if any, between a web host on the internet and an Apache server on my PC (localhost) ?

The difference between what?
The better question would be: What is a HTTP daemon (HTTPD).
A HTTP Daemon is a HTTP (HTTP is a transfer protocol for hypertext - e.g. html) compliant webserver that listens for requests to response.

More informations on that:
http://wiki.apache.org/httpd/FAQ
http://en.wikipedia.org/wiki/Apache_HTTPD

btw: localhost is just a named alias hostname for for your very own computer, routed by your loopback network interface.

if you ask me, you should now take some time to learn the basics. That is very important to understand what you want and what you need for that.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8290
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to Apache

Who is online

Users browsing this forum: No registered users and 3 guests