Chrisu wrote:Hätte aber noch eine Frage nehmen wir mal an ich hätte 10 verschiedene Foren mit 10 verschiedenen URLS.
Aber eben nur einen Server mit einer fixen IP, nun lege ich 10 virtuale Hosts an, kann ich trotzdem auf die 10 verschiedenen Foren verweisen im Web (nicht lokal) ?
Chrisu wrote:
- Code: Select all
107.0.0.1 localhost
"meine IP" www.1forum.at
"meine IP" www.2forum.at
und so weiter
Chrisu wrote:httpd-vhosts
- Code: Select all
NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
DocumentRoot "C:/xampp/htdocs/"
DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm
<Directory "C:/xampp/htdocs/">
AllowOverride All
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
Order allow,deny
Allow from all
AddType text/html .shtml
AddHandler server-parsed .shtml
AddOutputFilter INCLUDES .shtml
</Directory>
ScriptAlias /cgi-bin/ "C:/xampp/htdocs/cgi-bin/"
<Directory "C:/xampp/htdocs/cgi-bin">
AllowOverride None
Options All
AddHandler cgi-script .cgi .pl
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
#####################
<VirtualHost *:80>
ServerName http://www.1forum.at
ServerAlias http://www.1forum.at
DocumentRoot "C:/xampp/htdocs/forum1"
DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm
<Directory "C:/xampp/htdocs/forum1">
AllowOverride All
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
Order allow,deny
Allow from all
AddType text/html .shtml
AddHandler server-parsed .shtml
AddOutputFilter INCLUDES .shtml
</Directory>
ScriptAlias /cgi-bin/ "C:/xampp/htdocs/forum1/cgi-bin/"
<Directory "C:/xampp/htdocs/forum1/cgi-bin">
AllowOverride None
Options All
AddHandler cgi-script .cgi .pl
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName http://www.2forum.at
ServerAlias http://www.2forum.at
DocumentRoot "C:/xampp/htdocs/forum2"
DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm
<Directory "C:/xampp/htdocs/forum2">
AllowOverride All
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
Order allow,deny
Allow from all
AddType text/html .shtml
AddHandler server-parsed .shtml
AddOutputFilter INCLUDES .shtml
</Directory>
ScriptAlias /cgi-bin/ "C:/xampp/htdocs/forum2/cgi-bin/"
<Directory "C:/xampp/htdocs/forum2/cgi-bin">
AllowOverride None
Options All
AddHandler cgi-script .cgi .pl
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
und so weiter
Chrisu wrote:ich möchte nur wissen wie/und ob es möglich ist mit einer fixen IP vom Provider die zugänglich im Web für jeden ist, über verschiedene domains auf meinen homeserver websiten foren etc zuverweisen.
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
ScriptAlias /cgi-bin/ "C:/xampp/htdocs/forum1/cgi-bin/"
Pitze wrote:Es gibt IT Spezialisten die CGI mitlerweile sogar strikt ablehnen
Users browsing this forum: No registered users and 3 guests