Hi all,
Here is my configuration:
- Linux server
- Apache 1.3.37 (url rewritting activated)
- MySQL 4.1.21
- PHP 4.4.4
- Joomla 1.0.12
- JoomSEF 1.3.3
SEF option is activated in the global Joomla configuration and JoomSEF component is activated too.
You can check below that my .htaccess file content is ok for SEF third-party component usage.
JoomSEF component is configured to generate URLs like:
www.my-site.com/section_title/category_t...ntent_item_title.htm
and it works fine for almost all my content items except what is following...
My administrator content editor is TinyMCE (version delivered with Joomla 1.0.12).
The TinyMCE mambot is configured to use relative paths (for links, images, ...).
I have a menu item (id = 62) pointing to a content item.
In this content item, I have an image (using the {mosimage} mambot).
I want to put a link on this image to open a separate (_blank) window containing another content
item (id = 17) alone (not with the full home page layout).
So I planned to set my link with the following URL:
index2.php?option=com_content&task=view&id=17&Itemid=62
Well, when you click on the first image to open the popup window, it does not work as expected:
- The popup window displays the correct content item but not alone (i.e. using the full home page layout)
- The URL of the popup window document is quite strange:
www.my-site.com/section/category/index2....17&Itemid=62
where section is a section title (but not the one containing the popup content item)
and category is a category title (but not the one containing the popup content item)
I would have expected an URL like:
www.my-site.com/correct_section_title/co...ntent_item_title.htm
Any ideas? Thanks in advance for any kind of help!
Here is my .htaccess file:
DirectoryIndex index.php
RewriteEngine On
RewriteBase /
# 3rd Party SEF Section
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]