If you can see this check that

next section            up prev page next page

Essential Apache

Configuring Apache

Apache

Server Architectures

Apache Forking Model

Initial Settings

StartServers 8
MinSpareServers 5
MaxSpareServers 20
MaxClients 150
MaxRequestsPerChild 1000

Important Files

Reload or Restart

Mimic a Browser

$ telnet linuxzoo.net 80
HEAD / HTTP/1.1
Host: linuxzoo.net

HTTP/1.1 200 OK
Date: Mon, 01 Nov 2008 15:06:44 GMT
Server: Apache/2.0.46 (Red Hat)
Last-Modified: Fri, 29 Oct 2008 14:47:22 GMT
ETag: "4981dd-920-22ea7280"
Accept-Ranges: bytes
Content-Length: 2336
Content-Type: text/html; charset=UTF-8
$ telnet linuxzoo.net 80
HEAD / HTTP/1.1
Host: db.grussell.org

HTTP/1.1 200 OK
Date: Mon, 01 Nov 2008 15:08:52 GMT
Server: Apache/2.0.46 (Red Hat)
Last-Modified: Thu, 21 Oct 2008 09:12:33 GMT
ETag: "3c8066-a37-86c9a240"
Accept-Ranges: bytes
Content-Length: 2615
Content-Type: text/html; charset=UTF-8

VirtualHosts

public_html

public_html access

Linuxzoo tutorials

Web access from the prompt

Copy http to your directory

mod_rewrite

URL Rewriting

Methods

rewriteRule

Regular Expressions

Quantifiers and Grouping

Anchors and Escaping

Back References

More complex example.

Additional Flags

Options:

Complex example

RewriteCond

Variables:

Flags

Example 1:

Example 2:

Example 3:

Discussions

Discussion

Discussion

Question 1

Question 2

What fields would you expect to have to define in a VirtualHost definition in apache?

Question 3

Supply mod_rewrite instructions such that a request for http://grussell.org/~uta gets redirected externally and permanently to http://upriss.org.uk.
Tutlinks: intro1 intro2 wildcard permission pipe vi essential admin net fwall DNS diag Apache1 Apache2 MySQL1 MySQL2
Useful: Quiz Forums
Site Links:XMLZoo ActiveSQL ProgZoo SQLZoo