mkniskanen
Verified User
Hello again.
Today I encountered something I have no explanation for. I have used subdomains for ages but after creating a subdomain for an old domain trying to install wikimedia for it I was faced with a weird phenomenon.
The subdomain is simply wiki.mycustomerdomain.com and it it resides under public_html/wiki. The mediawiki installation script tries to load config/index.php but the screen turns blank. Checking the source code from the browser reveals this:
	
	
	
		
So I assume DA is interfering here and outputting a php redirection code BUT WITH NOW ILLEGAL SHORT TAGS(!!!!) Where on earth does this take place and why? This happens with any file from the public_html/wiki/config directory and only in this very subdomain. There are two more subdomains which work as expected.
EDIT: Found where the code is. It is in
	
	
	
		
EDIT2: Sigh, that file has a proper tag "<?php" so I still have no idea where that redirection code has been grabbed from.
markku
				
			Today I encountered something I have no explanation for. I have used subdomains for ages but after creating a subdomain for an old domain trying to install wikimedia for it I was faced with a weird phenomenon.
The subdomain is simply wiki.mycustomerdomain.com and it it resides under public_html/wiki. The mediawiki installation script tries to load config/index.php but the screen turns blank. Checking the source code from the browser reveals this:
		Code:
	
	<?
header("Location: http://".$_SERVER['HTTP_HOST'].":2222");
?>EDIT: Found where the code is. It is in
		Code:
	
	/usr/local/directadmin/scripts/redirect.phpEDIT2: Sigh, that file has a proper tag "<?php" so I still have no idea where that redirection code has been grabbed from.
markku
			
				Last edited: 
			
		
	
								
								
									
	
								
							
							 
 
		 
 
		