News:

Apachefoorumi.net
Sielussani on mursu...

Main Menu

Post reply

The message has the following error or errors that must be corrected before continuing:
Warning: this topic has not been posted in for at least 356 days.
Unless you're sure you want to reply, please consider starting a new topic.
Note: this post will not display until it has been approved by a moderator.
Other options
Verification:
Please leave this box empty:

What is the most visible color in our forum?:
What is the name of this forum?:
Shortcuts: ALT+S post or ALT+P preview

Topic summary

Posted by Lexa
 - Wed 15.10.2008 13:37:45 (UTC+0300)
Hittoviä en kohta vastaa enää kenellekään jolla ei ole pohjalla vähintää 5 viestiä :ras:
Posted by Lexa
 - Mon 06.10.2008 14:44:31 (UTC+0300)
httpd.confin loppuun, tai  vhosts.confin loppuun:


<VirtualHost SUN.OMA.IPO.SOITE>
DocumentRoot /var/www/subdomainkansio
ServerName subdomain.domain.com
ServerAdmin administrator@domain.com
ScriptAlias "/cgi-bin/" "/var/www/subdomainkansio/cgi-bin/"
ServerAlias subdomain.domain.com
</VirtualHost>


Pitäis toimaa. :think: Vissiin...
Posted by Rax
 - Sun 05.10.2008 11:25:52 (UTC+0300)
Eli mites saisin tohon mun kotipalvelimeen noita alidomaineja..
Oon jo jotain tällästä .htaccessia kokeillu:

RewriteEngine On
Options +FollowSymlinks
RewriteBase /

RewriteCond %{HTTP_HOST} test.(tässä olis se mun iposote)
RewriteCond %{REQUEST_URI} !test/
RewriteRule ^(.*)$ test/$1 [L]