vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbSubdomains v1.0 (german/english) (https://vborg.vbsupport.ru/showthread.php?t=39332)

Minots 07-19-2002 11:12 PM

@ Schorsch

Die Grundeinstellung des Hacks sieht vor, dass sich das Forum im
Web-Hauptverzeichniss deines Speicherplatzes befindet.
Also dort, wo Du deinen netten Disclaimer (index.htm) gespeicherst hast.
Aus diesem Grund befindet sich in der 10. Zeile von "vbsubdomains.php" folgender Eintrag.:
PHP Code:

require('./global.php'); 

Der genaue Standpunkt Deiner "global.php" lautet allerdings "./vB/global.php" und kann deshalb nicht gefunden werden.

?ndere einfach in "vbsubdomains.php" die Zeile 10 um.:
PHP Code:

require('./vb/global.php'); 

Das m?sste es dann gewesen sein. ;)

Und was die ".htaccess" angeht.
Sie legt die Priorit?t der "Startseiten" fest. Lautet der Eintrag z.B.
Code:

DirectoryIndex vbsubdomain.php index.php index.html
dann sucht dein Webserver zuerst nach "vbsubdomain.php" um sie anzuzeigen/zu bearbeiten.
Wenn diese Datei nicht vorhanden ist, dann versucht er es als n?chstes mit "index.php" usw.

Ich hoffe, das bringt Dich ein wenig weiter. Andernfalls frag mich einfach weiter. Wir bekommen das schon hin. ;)

In diesem Sinne,

Schorsch 07-20-2002 01:30 AM

Hi Minots,

habe ich geaendert!

es kam anschliessend noch die meldung:

Code:

Warning: Unable to access ./admin/config.php in /home/virtual/site73/fst/var/www/html/vB/global.php on line 124
dasselbe fuer sessions.php und einige andere.

gut, dann dachte ich mir, ich aendere in der global.php ./admin/xyz.php in vB/admin/xyz.php und es sollte funzen. falsch gedacht, die fehlermeldung war zwar weg, ABER wenn ich mein forum oder nen beitrag anschauen wollte kam nix als ne weisse seite :(

was kann ich tun ?

und ich habe noch ne Frage: Ich habe meine alte .htacces durch Deine ersetzt, in der alten standen jede menge wirre sachen drin die ich nicht verstehe. Habe ich jetzt dadurch ne sicherheitsluecke oder wozu war meine alte .htaccess da ?

DANKE fuer deine Hilfe :)

Gruss,
Schorsch

Minots 07-20-2002 04:08 PM

Hallo Schorsch.

Was in deiner alten .htaccess stand weiß ich nicht und kann Dir deshalb auch nicht sagen, ob Du jetzt ein Sicherheitsproblem hast. Aber Du wirst davon doch ein Backup gemacht haben, oder?

Wegen dieser weißen Seite:
Benutzt Du jetzt die .htaccess die beim Hack dabei ist, oder das Beispiel aus meinem vorherigem Posting?
Außerdem müsste ich noch wissen, wie deine "Disclaimer-Seite" heißt und welche Einstellung Du in der global.php gemacht hast.
Ich meine diese -> $startpage ="index.php";

Schorsch 07-20-2002 05:33 PM

Hi Minots,

jep ich benutzte die .htaccess die bei deinem hack dabei war:

Code:

DirectoryIndex vbsubdomain.php index.html index.php
meine disclaimer seite heisst index.html

in meiner vB/global.php habe ich das folgende:

Code:

// **** set variables for vBSubdomains by Minots ****
// replace 'youdomain.com' with the domain name who will be used
// by the subdomain service.  'wildcards' aka 'catch-all' must be enable!
$maindomain = "fetter-esel.com";
// replace 'index.php' with your homepage startpage
// in most cases it will be 'index.php', 'forum.php', 'index.htm' or 'index.html'
$startpage ="index.html";

Gruss,
Schorsch

Minots 07-20-2002 06:04 PM

Merkw?rdig... Klingt so als sei alles in Ordnung.
Ich habe Dir noch eine PN geschickt. ;)

Schorsch 07-20-2002 08:39 PM

Danke Minots, du hast auch PN :)

Gruss,
Schorsch

Demonslayer 07-24-2002 02:28 AM

What would I do if i wanted the subdomain to be something other than the username (they get an input field to put it in) and a site other than the homepage?

I hope it isn't anything too hard to do...

Schorsch 07-29-2002 01:45 PM

@Minots:

you have a PM :)

regards,
Schorsch

Minots 08-06-2002 01:44 PM

First beta of vBSubdomain2 is out!
Be carefull! Read all! Find it here -> https://vborg.vbsupport.ru/showthrea...threadid=41982

Schorsch 08-06-2002 02:35 PM

@Minots:

do you have any ideas for my problem or will the new version solve my problem ?

regards,
Schorsch

Minots 08-07-2002 12:44 AM

Hi again Schorsch.
Habe eine kleine ?berraschung f?r Dich. :D
Probier mal folgende Urls aus.:
http://www.fetter-esel.com
http://FetterEsel.fetter-esel.com
http://minots.fetter-esel.com

Zufrieden? :)

Schorsch 08-07-2002 02:40 AM

wow Minots, ich weiss echt nicht wie ich dir danken kann :) SUPER arbeit!!! Vielen Dank!!

Kannst du mir noch kurz erklaeren was du geaendert hast damit es funzt ?

und kann ich ohne weiteres auf deine neue Version updaten, oder gibts dann wieder evtl. das alte problem ?

Gruesse,
Schorsch

Minots 09-17-2002 01:14 PM

Hi everybody.
A simple question: Does someone know that this hack is still working with vB2.2.7 ?

NuclioN 09-18-2002 01:05 AM

--problem solved-- installing new version. ;)

proxyMX 09-23-2002 08:34 PM

not working properly on 2.2.7

wolfe 09-23-2002 08:43 PM

Quote:

Originally posted by proxyMX
not working properly on 2.2.7
i know it aint also some of the templates are in German can someone sort this please

Minots 02-05-2003 11:01 PM

does someone test it with vb2.2.9?

Logtenberg 09-11-2003 12:08 AM

Has anyone got this to work on version 2.30?

gmarik 09-14-2003 11:21 AM

Quote:

Originally Posted by Logtenberg
Has anyone got this to work on version 2.30?

Not me. But would want to. :ermm:

influence 04-01-2004 01:28 PM

can someone port this over to vb 3.0 please

Minots 04-01-2004 03:49 PM

at the moment i?m working on the download-addon for vb3
(can be seen at http://www.board-24.de/downloads.php ) .
after that i?ll do this hack (vbSubdomains) for vb3 too.

Just wait a little bit. ;)

trafix 04-01-2004 09:02 PM

i hope the vb3 version works unlike the vb2 version ;)

yl88 05-29-2004 07:00 AM

Good job!

i hope we can see there is version for vb 3.0

thanks.

animeonline 08-09-2004 09:21 PM

Hi Minots,
First off it looks like you did a great job here.
I do have some questions though. How do I set up wildcards for my domain?
I can't seem to get the subdomains to resolve at this point. also how do I set the proper order in the htaccess file?
Thank you very much for your time :)


All times are GMT. The time now is 01:37 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01398 seconds
  • Memory Usage 1,767KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete