Current time: 05-20-2024, 08:50 AM Hello There, Guest! (LoginRegister)


Post Reply 
Subdomain komische Weiterleitung
Author Message
Vresh Offline


Posts: 4
Joined: Apr 2011
Reputation: 0
Post: #1
Subdomain komische Weiterleitung
Hallo @all,

ich kenn mich mit ispCP nicht sonderlich aus und hab das gute teil vorher noch nicht benutzt. Jedenfalls hab ich eine Subdomain angelegt sub.example.org als mointpoint hab ich /sub/htdocs. Wenn ich jetzt auf sub.example.org gehe werde ich auch example.org/sub/htdocs weitergeleitet.

Meine Frage ist jetzt wie ich das unterbinden kann also das dass ganze eine echte Subdomain ist.

Vielen Dank im vorraus!
04-03-2011 07:02 AM
Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #2
RE: Subdomain komische Weiterleitung
htaccess ? das Domainmanagement ist derzeit ein ganz großes manko.
04-03-2011 04:40 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #3
RE: Subdomain komische Weiterleitung
Aber das geschilderte Verhalten ist schon etwas seltsam.
Wie lauten die DocumentRoot Einstellungen im Apache?

zB. grep example.org /etc/apache2/sites-enabled/ispcp.conf | grep DocumentRoot

/J
04-03-2011 08:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Vresh Offline


Posts: 4
Joined: Apr 2011
Reputation: 0
Post: #4
RE: Subdomain komische Weiterleitung
DocumentRoot ist /var/www/virtual/example.org/htdocs/sub/htdocs

Viele Grüße
04-03-2011 10:11 PM
Find all posts by this user Quote this message in a reply
Vresh Offline


Posts: 4
Joined: Apr 2011
Reputation: 0
Post: #5
RE: Subdomain komische Weiterleitung
Ich hab soeben eine neue Erkenntnis gewonnen indem ich Manuell eine Subdomain angelegt habe!

<VirtualHost *:80> -> admin.domain.tld (ispcp)
<VirtualHost ich.bin.eine.ip:80> -> Weiterleitung in das Verzeichnis (via Location sagt wget)

evt. hilft das ja...
04-04-2011 12:22 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: Subdomain komische Weiterleitung
(04-03-2011 10:11 PM)Vresh Wrote:  DocumentRoot ist /var/www/virtual/example.org/htdocs/sub/htdocs

Viele Grüße

Dann ist da was entweder falsch angelegt worden - oder du hast htdocs/sub/ als Mount-Pfad angegeben...

normalerweise wird bei Eingabe von sub ein Pfad /sub angelegt (im Domain-Home) - da drin kommt ein htdocs...

total also /var/www/virtual/example.org/sub/htdocs

naja... manuell ist eine Notlösung, aber es widerspricht dem Gedanken, dass ispcp die sache verwaltet...

Gruss J
04-04-2011 08:47 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)