Jump to content
The Uniform Server Community


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About bebbet

  • Rank
  1. i try to make this <VirtualHost *> VirtualDocumentRoot "/www/domains/%-2.0.%-1.0/" </VirtualHost> after a hour of coding, i made apache not to crash when started.. and still it doesn't work it should do: request: www.bebbet.nl result: /www/domains/bebbet.nl/ i want: request: 1234.bebbet.nl/dir/filename.ext result: /www/domains/bebbet.nl/1234/dir/filename.ext who can help me? i activated LoadModule vhost_alias_module modules/mod_vhost_alias.so (i installed apache2, then copied the file) help me please
  2. bebbet

    Virtual hosts?

    my whole httpd.conf httpd.txt
  3. bebbet

    Virtual hosts?

    i got the server W:/www/ the root, if someone gets in the root (so not subdirs) i got PHP script: header(location: /aa/) so that it redicts to W:/www/aa/ my main site (i didn't want it in the root...) but if i try to pass trough the virtual host i only get to that location
  4. bebbet


    I mean that my homeserver goes down sometimes... so if you try you get nothing than a can't connect to server error.. i didn't use any other things, only the virtual host section... my virtualhost section allready tried too add namevirtualhost directives NameVirtualHost * NameVirtualHost *free-hosting.kicks-ass.net NameVirtualHost *bebbet.kicks-ass.net <virtualhost *bebbet.kicks-ass.net:80> RewriteCond %{HTTP_HOST} ^[^.]+\.bebbet.\kicks-ass\.net$ RewriteRule ^(.+) %{HTTP_HOST}$1 [C] RewriteRule ^([^.]+)\.bebbet\.kicks-ass\.net(.*) /www/bebbet.kicks-ass.net/$1$2 RewriteLogLevel 10 rewritelog /log.txt servername *bebbet.kicks-ass.net </virtualhost> <virtualhost *free-hosting.kicks-ass.net:80> RewriteEngine on RewriteMap lowercase int:tolower #RewriteCond %{REQUEST_URI} !^/cgi-bin/ RewriteCond ${lowercase:%{SERVER_NAME}} ^www\.[a-z-]+\.free-hosting\.kicks-ass\.net$ CustomLog W:/own.txt own RewriteRule ^www\.([a-z-]+)\.free-hosting\.kicks-ass\.net/(.*) /home/$1/$2 RewriteLogLevel 10 rewritelog /log.txt #ScriptAlias /cgi-bin/ /www/std-cgi/ </virtualhost>
  5. bebbet

    Virtual hosts?

    made a vhost using the script bebbet.testhost httpd.conf snipplet: <VirtualHost *> ServerName bebbet.testhost DocumentRoot W:/www/aa1/ </VirtualHost> but i still get too w:/www/aa/ (i got index.php in /www/ wich redicts to /aa/) so...?! someone knows how to solve this problem?> *i allready enabled mod_vhost_alias * #LoadModule usertrack_module modules/mod_usertrack.so LoadModule vhost_alias_module modules/mod_vhost_alias.so #LoadModule ssl_module modules/mod_ssl.so *
  6. bebbet


    i put vhost mod online got in httpd.conf NameVirtualHost * <virtualhost *free-hosting.kicks-ass.net:80> RewriteEngine on RewriteMap lowercase int:tolower #RewriteCond %{REQUEST_URI} !^/cgi-bin/ RewriteCond ${lowercase:%{SERVER_NAME}} ^www\.[a-z-]+\.free-hosting\.kicks-ass\.net$ CustomLog W:/own.txt own RewriteRule ^(.+) ${lowercase:%{SERVER_NAME}}$1 [C] RewriteRule ^www\.([a-z-]+)\.free-hosting\.kicks-ass\.net/(.*) /home/$1/$2 #ScriptAlias /cgi-bin/ /www/std-cgi/ </virtualhost> but it doesn't work (is homeserver could be offline when u try!!)
  • Create New...