Topic: Non image
Scritp works only on my IP: http://46.102.243.171/img/
In subdomain i see this: http://img.daggerka.pl/
Any idea?
Server work on:
lighttpd/1.4.19 and PHP
You are not logged in. Please login or register.
Scritp works only on my IP: http://46.102.243.171/img/
In subdomain i see this: http://img.daggerka.pl/
Any idea?
Server work on:
lighttpd/1.4.19 and PHP
your css link do not exist : "http://img.daggerka.pl/estilo.css"
make sure you have a file named (estilo.css) in chevereto directory.
http://46.102.243.171/img/ = http://img.daggerka.pl/ = http://obeazek.tk/
Example vhost:
##START VHOST
$HTTP["host"] =~ "(^|\.)obrazek.tk$" {
server.document-root = "/var/www/img"
server.errorlog = "/var/log/lighttpd/img.daggerka.pl/error.log"
accesslog.filename = "/var/log/lighttpd/img.daggerka.pl/access.log"
server.error-handler-404 = "/e404.php"
}
###STOP VHOST
Open index.php
Change this:
<link href="<?php echo URL_SCRIPT;?>estilo.css" rel="stylesheet" type="text/css" />With this :
<link href="http://46.102.243.171/img/estilo.css" rel="stylesheet" type="text/css" />config.php
FIND :
path = dirname($_SERVER['PHP_SELF']);
if (strlen($path)>1) {
define('PATH_SCRIPT', $path.'/');
} else {
define('PATH_SCRIPT', $path);
}replace with :
define('PATH_SCRIPT', 'http://46.102.243.171/img/');Last edited by Danny.Domb (2011-03-17 15:46:09)
no works... ![]()
Im back to default config, becouse obrazek.tk ect not works to
Last edited by Daggerka (2011-03-17 15:53:25)
Well then, change everything manually :
Find everything starting with :
/js/replace with :
http://46.102.243.171/img/js/Find everything starting with :
/site-img/replace with :
http://46.102.243.171/img/site-img/Powered by PunBB, supported by Informer Technologies, Inc.
Powered by PunBB