Menu
Content
ENG
CZE
DEU
FIN
Support
> Forums, FAQs & Paid Support
Home
>
Index
Recent Topics
Rules
Search
Welcome,
Guest
Username
Password:
Remember me
Forgot your password?
Forgot your username?
Create an account
Profile for neopablix
OFFLINE
Time Zone:
GMT +0:00
Local Time:
01:18
Posts:
2
Profile Views:
2479
Location:
Unknown
Gender:
Unknown
Birthdate:
Unknown
Signature
Posts
Posts
Re:404 Error on every page but ...
gaznev2000 wrote:
Hi neopablix, where did you use this code in the configuration.php?
Regards
Gary
Hi friend, in the .htaccess. Cheers
404 Error on every p ...
Category:
JoomSEF 3
Posted 14 years, 6 months ago
by
neopablix
Re:404 Error on every page but ...
I use this code and solve the problem for me. I hope it help you.
DirectoryIndex index.php
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# 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]
#
########## End - Rewrite rules to block out some common exploits
404 Error on every p ...
Category:
JoomSEF 3
Posted 14 years, 6 months ago
by
neopablix
More
Products
Online Shop
Magento
CMS
Joomla
ERP
Openbravo
Openbravo - Magento Connector
E-Ticket System
Basic Description
E-Tickets for Joomla
Joomla! Extensions
JoomSEF SEO Toolkit
Booking & Reservations
Document Management
FusionCharts
Electronic Tickets
ARTIO Facebook Tools
TileView
Magento Extensions
M-Turbo Accelerator
B2Sync Accounting Bridge
Openbravo Connector
Payment Gateways
EU VAT Checker
SMS Notifier
Poštomat InPost
UX Pack
EET (Electronic Transaction Evidence)
Openbravo Extensions
Openbravo - Magento Connector
VirtueMart Tools
VirtueMart PDF Invoices
B2Sync Accounting Bridge
VirtueMart SMS Notifier
VirtueMart Business Reports
VirtueMart SEO
EET (Electronic Transaction Evidence)
SMS Gateway
Overview
Components & Tools
First Steps
Documentaion
Pricelist
Terms of Service
Rules of Use
Industry Specific
Facility Management
Video on Demand (VoD)
Online Games Sales
Ski Resorts
Services
Software Development
Custom Development
Joomla Development
Magento Development
Analysis and Design
Consulting and Training
Introduction
Open Source Consulting
Internet Services
Web Design & Production
Webhosting
SEO
Joomla Hosting
Magento Hosting
Virtual Servers
Search Engine Optimization
Open Source Support
Open Source - General
Joomla Support
Software Financing
Webmail
References
Advanced Projects
Joomla Projects
Magento Projects
Other Software
Support
Overview
Support Tutorial
Support Forums
FAQs
Downloads
Buy Support
E-Mail Setup
User Login
Company
Contact Us
Czech Republic
Finland
International
History
Career
Affiliate Programme
Partnerships
Become a Partner
Partnership Programme
What we are looking for
What you can get
E-Shop
Downloadable Software
JoomSEF
Book it!
JoomDOC
E-Tickets
FusionCharts for Joomla
Joomla Extensions
Magento Eshop
Magento Extensions
VirtueMart Tools
Openbravo Extensions
B2Sync for VirtueMart
Support Services
SEO Services
SMS Services
Download Area
User Login
Empty
Login
Remember Me
Create an account
Forgot your password?
Privacy Policy
Legal Documents
Sitemap
Search
Service Directory
Affiliates
Copyright © 2025 ARTIO