[TYPO3] Click to enlarge image display problem
Finees Mendez
fineesmendez at yahoo.com
Fri Oct 26 06:31:20 CEST 2007
Hi all,
I have some images set to "click to enlarge." But once clicked, the image can not be displayed; the link location is "domain.comindex.php". For some reason or other when clicking on the click-to-enlarge, the link is not properly set (i.e. the "/" is not added to the link, hence 'domain.comindex.php' is reported as an error).
Any suggestions?? I have gutted the localconf.php file for the realUrl extension to the bare minimum along with a slim .htaccess file. But still, the problem exists.
****************************** My .htaccess file
RewriteEngine on
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
### PHP5 Activation ###
# If your ISP provides php5 but the server is running on php4
AddHandler application/x-httpd-php5 .php
### End PHP5 Activation ###
### Rewriting Stuff ###
# Enable URL rewriting
RewriteRule ^/(cpanel|webmail|typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]
RewriteRule ^/(cpanel|webmail|typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/.*$ - [L]
#RewriteRule .*\.(cpanel|webmail|typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)$ - [F,NC]
RewriteRule ^typo3$ typo3/index_re.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
# Main URL rewriting.
RewriteRule .* index.php [L]
### End: Rewrite stuff ###
### PHP Optimisation ###
# TYPO3 works fine with register_globals turned off.
# This is highly recommended!
php_flag register_globals On
# TYPO3 doesn't need this, so just turn it off.
php_flag register_argc_argv off
# Magic quotes for runtime-generated data (data from SQL, exec(), etc.)
php_flag magic_quotes_gpc off
# Order in which PHP registers GET, POST, Cookie and Built-in variables
php_value variables_order GPCS
### End: PHP optimisation ###
### Begin: Miscellaneous ###
# Make sure that directory listings are disabled
#Options -Indexes
# There is a problem with Internet Explorer and mod_gzip on Apache servers.
# For more information, see
# http://typo3.org/documentation/document-library/rtehtmlarea/Tutorial-79/
#mod_gzip_item_exclude file \.css$
#mod_gzip_item_exclude file \.png$
#mod_gzip_item_exclude file \.gif$
#mod_gzip_item_exclude file \.jpg$
#mod_gzip_item_exclude file \.jpeg$
#mod_gzip_item_exclude file \.js$
### End: Miscellaneous ###
****************************** My .htaccess file
****************************** My localconfig.php realUrl setup section
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array (
'enableCHashCache' => '1',
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => '1',
'enableUrlEncodeCache' => '1',
),
'preVars' => array (
'0' => array (
'GETvar' => 'no_cache',
'valueMap' => array (
'no_cache' => '1',
),
'noMatch' => 'bypass',
),
'1' => array (
'GETvar' => 'L',
'valueMap' => array (
'en' => '1',
),
'noMatch' => 'bypass',
),
),
'pagePath' => array (
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => '5',
'rootpage_id' => '1',
),
'fileName' => array (
'defaultToHTMLsuffixOnPrev' => true,
),
);
****************************** My localconfig.php realUrl setup section
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the TYPO3-english
mailing list