Neu den Connector bei Localhost konfigurieren

Michael_H

Aktives Mitglied
1. Februar 2016
74
2
Weiß jemand, wie man einen lokal installierten Connector (in meinem Fall Oxid) mit der Wawi verbindet?
Ich habe versucht:

http://localhost/Oxid_4.10.2
http://127.0.0.1/Oxid_4.10.2

Und im Kundencenter stimmt

127.0.0.1/oxid_4.10.2/modules/jtlconnector

wahrscheinlich. Aber das weiß ich erst, wenn es in der Wawi stimmt. Und "oxid_4.10.2" stimmt ganz sicher, das habe ich geprüft.
 

perfectdeals

Aktives Mitglied
24. November 2015
105
0
Du könntest auf der Machine, auf der die Wawi läuft auch über die hosts Datei eine Domain "vorgaugeln"..... du rufst dann zb. meinedomain.de auf, auf die Wawi bzw dein Rechner öffnet 127.0.0.1

Was hast du mit Lokalhost vor? Eine lokale Testumgebung?
 

Michael_H

Aktives Mitglied
1. Februar 2016
74
2
Danke für Deine Hilfe!

Ja, ich will lokal testen, ob der Oxid-Connector 1.1 schon für Oxid 4.10.2 geeignet ist.

Muß ich das in die hosts schreiben:
127.0.0.1 ****.com
und dann ****.com in die Wawi schreiben?
 

perfectdeals

Aktives Mitglied
24. November 2015
105
0
ja. so sollte das funktionieren.

Erstlele aber vorher eine Sicherung von der hosts datei. und danach neustarten, damit der dns cache geleert wird
 

Michael_H

Aktives Mitglied
1. Februar 2016
74
2
Danke für die HIlfe!
Ich habe mich gerade eingelesen. man muß wohl noch die httpd-vhosts.conf (xampp\apache\conf\extra\httpd-vhosts.conf) des Servers an 2 Stellen mit

NameVirtualHost 127.0.0.1:80

ändern: Weißt Du, wie? Hier ist die Datei:

#
# Use name-based virtual hosting.
#
##NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ##ServerName or ##ServerAlias in any <VirtualHost> block.
#
##<VirtualHost *:80>
##ServerAdmin webmaster@dummy-host.example.com
##DocumentRoot "D:/Programme/Xampp/htdocs/dummy-host.example.com"
##ServerName dummy-host.example.com
##ServerAlias www.dummy-host.example.com
##ErrorLog "logs/dummy-host.example.com-error.log"
##CustomLog "logs/dummy-host.example.com-access.log" common
##</VirtualHost>

##<VirtualHost *:80>
##ServerAdmin webmaster@dummy-host2.example.com
##DocumentRoot "D:/Programme/Xampp/htdocs/dummy-host2.example.com"
##ServerName dummy-host2.example.com
##ErrorLog "logs/dummy-host2.example.com-error.log"
##CustomLog "logs/dummy-host2.example.com-access.log" common
##</VirtualHost>
 

Michael_H

Aktives Mitglied
1. Februar 2016
74
2
Kann mir jemand bitte erklären, wie man einen shop bei Xampp mit der Wawi verbindet?

Dem Tipp oben folgend habe ich folgendes versucht, aber es funktioniert leider nicht.

hosts- Datei von Windows: 127.0.0.1. meine_fantasie_url.de www.meine_fantasie_url.de

httpd-vhosts.conf von Xampp:
<VirtualHost 127.0.0.1>
ServerName localhost
AddType text/html .shtml
AddHandler server-parsed .shtml
ServerAdmin webmaster@localhost
DocumentRoot "c:/xampp/htdocs/"
ScriptAlias /cgi-bin/ "c:/xampp/htdocs/cgi-bin/"

<Directory "c:/xampp/htdocs">
Options Indexes FollowSymLinks
Options +Includes
# Options +
AllowOverride FileInfo
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.php index.shtml index.html index.htm
</Directory>
</VirtualHost>


<VirtualHost 127.0.0.1>
ServerName www.meine_fantasie_url.de
ServerAlias www.meine_fantasie_url.de
AddType text/html .shtml
AddHandler server-parsed .shtml
ServerAdmin webmaster@domain.dd
DocumentRoot "d:/programme/xampp/htdocs/oxid_4.10.2"
ScriptAlias /cgi-bin/ "d:/programme/xampp/htdocs/oxid_4.10.2/cgi-bin/"
<Directory "d:/programme/xampp/htdocs/oxid_4.10.2">
Options Indexes FollowSymLinks
Options +Includes
# Options +
AllowOverride FileInfo
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.php index.shtml index.html index.htm
</Directory>
</VirtualHost>

In der Wawi:
http://www.meine_fantasie_url.de

In Kundencenter:
www.meine_fantasie_url.de/oxid_4.10.2/jtlconnector

 

Michael_H

Aktives Mitglied
1. Februar 2016
74
2
Hat hier schon mal jemand einen Shop (Oxid, Shopware, Presta Shop etc., so verschieden wird der Connector jeweils nicht sein) auf Xampp mit einer Wawi verbunden?
 

Ähnliche Themen