Admin Panel 2: Apache Configuration: Difference between revisions
Jump to navigation
Jump to search
Admin Panel 2: Apache Configuration (view source)
Revision as of 01:17, 24 November 2010
, 24 November 2010no edit summary
(New page: {{Uc_nav_apanel2}} '''Apache Configuration''' This page allows you to set Apache default settings after making changes it requires a '''server re-start''' for the setting to take place. ...) |
Upazixorys (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
=[http://uwujojedeh.co.cc Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly]= | |||
{{Uc_nav_apanel2}} | {{Uc_nav_apanel2}} | ||
'''Apache Configuration''' | '''Apache Configuration''' | ||
Line 6: | Line 7: | ||
You can change the following Apache default values: | You can change the following Apache default values: | ||
{|cellpadding= | {|cellpadding="4" | ||
|- | |- | ||
!style= | !style="background:#cccccc"|Name | ||
!style= | !style="background:#cccccc"|Default value | ||
! | !  | ||
|-style= | |-style="background:#e1e1e1" | ||
|Server Name: | |Server Name: | ||
|localhost:80 | |localhost:80 | ||
|style= | |style="background:#f5f5f5"|'''?''' | ||
|-style= | |-style="background:#e1e1e1" | ||
|Server Admin Email: | |Server Admin Email: | ||
|admin@localhost | |admin@localhost | ||
|style= | |style="background:#f5f5f5"|'''?''' | ||
|-style= | |-style="background:#e1e1e1" | ||
|Directory Index Files: | |Directory Index Files: | ||
|index.html index.shtml index.html.var index.htm index.php3 index.php index.pl index.cgi | |index.html index.shtml index.html.var index.htm index.php3 index.php index.pl index.cgi | ||
|style= | |style="background:#f5f5f5"|'''?''' | ||
|-style= | |-style="background:#e1e1e1" | ||
|Server Side Includes: | |Server Side Includes: | ||
|.shtml .shtm .sht | |.shtml .shtm .sht | ||
|style= | |style="background:#f5f5f5"|'''?''' | ||
|-style= | |-style="background:#e1e1e1" | ||
|Server Signature: | |Server Signature: | ||
|On | |On | ||
|style= | |style="background:#f5f5f5"|'''?''' | ||
|-style= | |-style="background:#e1e1e1" | ||
|Listen: | |Listen: | ||
|80 | |80 | ||
|style= | |style="background:#f5f5f5"|'''?''' | ||
|} | |} | ||
Line 48: | Line 49: | ||
:* Located in folder: '''C:\WINDOWS\system32\drivers\etc''' | :* Located in folder: '''C:\WINDOWS\system32\drivers\etc''' | ||
:* At the end of this file add: '''127.0.0.1 www.fred.com''' (use your own domain) | :* At the end of this file add: '''127.0.0.1 www.fred.com''' (use your own domain) | ||
:* Save this file, now when you type ''' | :* Save this file, now when you type '''<nowiki>http://www.fred.com</nowiki>''' (your domain) into your browser address bar you will be able to view your web site. | ||
If you are hosting more than one domain using name-based virtual hosting you can leave the default setting, however you must use the registered web address in virtual hosts. | If you are hosting more than one domain using name-based virtual hosting you can leave the default setting, however you must use the registered web address in virtual hosts. | ||
'''''Related'':''' | '''''Related'':'''<br> | ||
[[Virtual Hosting: Name based|Virtual Hosting ]]- Name based | [[Virtual Hosting: Name based|Virtual Hosting ]]- Name based<br> | ||
[[Virtual Hosting: PAC|Virtual Hosting ]]- PAC file | [[Virtual Hosting: PAC|Virtual Hosting ]]- PAC file<br> | ||
[[New Users: Quick hosts file|New Users ]]- Quick hosts file | [[New Users: Quick hosts file|New Users ]]- Quick hosts file | ||
Line 77: | Line 78: | ||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' | ||
== Server Signature == | == Server Signature == | ||
This allows Apache to add a footer line for server-generated documents it contains server version number, server name, and creates a | This allows Apache to add a footer line for server-generated documents it contains server version number, server name, and creates a "mailto:" reference to ServerAdmin. | ||
If you do not like the idea of this information being displayed simply turn it '''off'''. | If you do not like the idea of this information being displayed simply turn it '''off'''. | ||
Line 99: | Line 100: | ||
After changing Apache's listing port this port number must be include in the host name in order to display a file you are serving for example suppose you have changed the port to 8080. | After changing Apache's listing port this port number must be include in the host name in order to display a file you are serving for example suppose you have changed the port to 8080. | ||
To view your home page you enter the following address ''' | To view your home page you enter the following address '''<nowiki>http://localhost:8080/</nowiki>''' into your browser address bar. Likewise to view any other page in your root folder '''www''' you would enter '''<nowiki>http://localhost:8080/mypage.html</nowiki>''' to display that page. | ||
'''Note:''' When the server starts the correct port number is automatically added to the address and redirection takes place to the admin page. In this example you will see ''' | '''Note:''' When the server starts the correct port number is automatically added to the address and redirection takes place to the admin page. In this example you will see '''<nowiki>http://localhost:8080/apanel/</nowiki>''' displayed in the address bar. | ||
xxxxxxxx | xxxxxxxx |