Admin Panel 2: Apache Configuration: Difference between revisions

m
Reverted edits by Upazixorys (Talk); changed back to last version by Ric
No edit summary
m (Reverted edits by Upazixorys (Talk); changed back to last version by Ric)
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 7: Line 6:
You can change the following Apache default values:
You can change the following Apache default values:


{|cellpadding="4"
{|cellpadding="4"
|-
|-
!style="background:#cccccc"|Name  
!style="background:#cccccc"|Name  
!style="background:#cccccc"|Default value
!style="background:#cccccc"|Default value
! 
! 
|-style="background:#e1e1e1"
|-style="background:#e1e1e1"
|Server Name:
|Server Name:
|localhost:80
|localhost:80
|style="background:#f5f5f5"|'''?'''
|style="background:#f5f5f5"|'''?'''
|-style="background:#e1e1e1"
|-style="background:#e1e1e1"
|Server Admin Email:
|Server Admin Email:
|admin@localhost
|admin@localhost
|style="background:#f5f5f5"|'''?'''
|style="background:#f5f5f5"|'''?'''
|-style="background:#e1e1e1"
|-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="background:#f5f5f5"|'''?'''
|style="background:#f5f5f5"|'''?'''
|-style="background:#e1e1e1"
|-style="background:#e1e1e1"
|Server Side Includes:
|Server Side Includes:
|.shtml .shtm .sht
|.shtml .shtm .sht
|style="background:#f5f5f5"|'''?'''
|style="background:#f5f5f5"|'''?'''
|-style="background:#e1e1e1"
|-style="background:#e1e1e1"
|Server Signature:
|Server Signature:
|On
|On
|style="background:#f5f5f5"|'''?'''
|style="background:#f5f5f5"|'''?'''
|-style="background:#e1e1e1"
|-style="background:#e1e1e1"
|Listen:
|Listen:
|80
|80
|style="background:#f5f5f5"|'''?'''
|style="background:#f5f5f5"|'''?'''
|}
|}


Line 49: Line 48:
:* 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 '''<nowiki>http://www.fred.com</nowiki>''' (your domain) into your browser address bar you will be able to view your web site.
:* 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'':'''&lt;br&gt;
'''''Related'':'''<br>
[[Virtual Hosting: Name based|Virtual Hosting ]]- Name based&lt;br&gt;
[[Virtual Hosting: Name based|Virtual Hosting ]]- Name based<br>
[[Virtual Hosting: PAC|Virtual Hosting ]]- PAC file&lt;br&gt;
[[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 78: Line 77:
'''''[[#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 &quot;mailto:&quot; reference to ServerAdmin.
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 100: Line 99:
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 '''&lt;nowiki&gt;http://localhost:8080/&lt;/nowiki&gt;''' into your browser address bar. Likewise to view any other page in your root folder '''www''' you would enter '''&lt;nowiki&gt;http://localhost:8080/mypage.html&lt;/nowiki&gt;''' to display that page.
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 '''&lt;nowiki&gt;http://localhost:8080/apanel/&lt;/nowiki&gt;''' displayed in the address bar.
'''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