#1 (permalink)  
Alt 06.03.2007, 20:30
Neuer Benutzer
 
Registriert seit: 23.01.2007
Beiträge: 7
Standard virtualhost oluşturma

C:\AppServ\Apache2.2\conf\extra klasöründeki httpd-vhosts.conf dosyasında değişiklikler yaptıktan sonra localhost "You don't have permission to access / on this server - Apache/2.2.2 (Win32) PHP/5.1.4 Server at localhost Port 80 " Hatası ile karşılaşıyorum.

httpd-vhosts.conf dosyasının içeriğinin doğru kodları nasıl olmalı

teşekkürler,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 15.03.2007, 19:23
Neuer Benutzer
 
Registriert seit: 23.01.2007
Beiträge: 7
Standard Httpd.conf dosyası

Virtualhost için Httpd.con dosyasına aşağıdaki satırlar eklendiğinde 81 port'dan PhpMyAdmin'e 80 port'undan sanal mağazaya erişilebilir.

Mağazanın adı ucuzmarket
C'de oluşturulan klasör adı Market ile Servername magaza olarak tanımlanmıştır

Listen 80
Listen 81 ile port dinlemesi sağlanır.

DocumentRoot "C:/Market/www"
#Virtual Server Definition

80 portundan erişim sağlandığında; NameVirtualHost IPNumarasıyazılacak:80 ile ucuzmarket erişimi browser'dan http://ucuzmarket.magaza

80 portundan erişim sağlandığında; NameVirtualHost IPNumarasıyazılacak:81 ile
localhost erişim sağlanır.

#=====================================
ServerName magaza:81
ServerName ucuzmarket.magaza:80

NameVirtualHost IPNumarasıyazılacak:80
<VirtualHost IPNumarasıyazılacak:80>
ServerName ucuzmarket.magaza
DirectoryIndex index.php index.html
<Directory "C:/Market/www/xtcommerce">
Options FollowSymLinks ExecCGI Indexes
AllowOverride None
Order allow,deny
Allow from all
Satisfy all
</Directory>
DocumentRoot "C:/Market/www/xtcommerce"
</VirtualHost>


NameVirtualHost IPNumarasıyazılacak:81
<VirtualHost IPNumarasıyazılacak:81>
ServerName magaza
DirectoryIndex index.php index.html
<Directory "C:/Market/www">
Options FollowSymLinks ExecCGI Indexes
AllowOverride None
Order allow,deny
Allow from all
Satisfy all
</Directory>
DocumentRoot "C:/Market/www"
</VirtualHost>



#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "C:/Market/www">
====================================

httpd.conf dosyası düzenlendikten sonra ApacheServer yeniden çalıştırlır.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
olu#351turma, virtualhost

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus



Alle Zeitangaben in WEZ +1. Es ist jetzt 00:04 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand