Page 1 of 1
Core SEO wont work - 500 internal error - Godaddy Server
Posted: Fri Jun 29, 2007 4:25 pm
by adnet23
this post has a continued dicscussion from:
http://forum.joomla.org/index.php/topic ... #msg882673
- godaddy deluxe shared LINUX hosting
- it has apache and mod_rewrite enabled.
- My htaccess.txt is set to -> .htaccess and has permission "777"
- my sef mambot is published
- in configuration.php ---> $mosConfig_sef = '1';
- WEBSITE: viewadam.com
- directory: /tvadam
my htaccess looks like this:
Code: Select all
#
# mod_rewrite in use
#
RewriteEngine On
# Uncomment following line if you get 403 Forbidden Error
#Options +FollowSymLinks
# Uncomment following line if your webserver's URL
# is not directly related to physival file paths.
# Update YourMamboDirectory (just / for root)
RewriteBase /tvadam
#
# Rules
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section
Re: Core SEO wont work - 500 internal error - Godaddy Server
Posted: Fri Jun 29, 2007 5:24 pm
by pe7er
Could you change your .htaccess:
RewriteBase /tvadam
into
RewriteBase /
or
# RewriteBase /tvadam
Re: Core SEO wont work - 500 internal error - Godaddy Server
Posted: Fri Jun 29, 2007 5:48 pm
by adnet23
pe7er wrote:
Could you change your .htaccess:
RewriteBase /tvadam
into
RewriteBase /
or
# RewriteBase /tvadam
My jaw just hit the floor!
RewriteBase /
WORKED!!!!
THANK YOU - GODADDY SERVERS
DO WORK WITH JOOMLA CORE SEO!
do you have a good website? as a token for your help I will add a link to it from my website.
Re: Core SEO wont work - 500 internal error - Godaddy Server
Posted: Fri Jun 29, 2007 6:07 pm
by pe7er
You're welcome!
Good to hear that you've solved it & thanks for marking your message as solved!
I hope that I have a good website
Thank you for your linking offer,
but your "thank you" was enough...
Re: Core SEO wont work - 500 internal error - Godaddy Server
Posted: Thu Jul 12, 2007 6:50 pm
by newseed
adnet23 wrote:
pe7er wrote:
Could you change your .htaccess:
RewriteBase /tvadam
into
RewriteBase /
or
# RewriteBase /tvadam
My jaw just hit the floor!
RewriteBase /
WORKED!!!!
THANK YOU - GODADDY SERVERS
DO WORK WITH JOOMLA CORE SEO!
do you have a good website? as a token for your help I will add a link to it from my website.
I've tried this to no avail. I must be missing something.
Currently, my site is
thekaspergroup.com and the location of the Joomla is
/realty-demo.
The .htaccess file is located in the
/realty-demo folder. Turned on the core SEF. Didn't work
Moved .htaccess file to the root folder. Still didn't work.
Here's my .htaccess file:
Code: Select all
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.thekaspergroup.com
AuthUserFile /var/chroot/home/content/e/d/k/edklok/html/_vti_pvt/service.pwd
AuthGroupFile /var/chroot/home/content/e/d/k/edklok/html/_vti_pvt/service.grp
## Can be commented out if causes errors, see notes above.
#Options +FollowSymLinks
#
# mod_rewrite in use
RewriteEngine On
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla!/MamboDirectory (just / for root)
RewriteBase /
########## Begin - Joomla! core SEF Section
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteRule ^(.*) index.php
#
########## End - Joomla! core SEF Section
########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
#RewriteCond %{REQUEST_URI} ^(/demo1.thekaspergroup.com/component/option,com) [NC,OR] ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section
########## 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
I am open for suggestions.
Re: Core SEO wont work - 500 internal error - Godaddy Server
Posted: Thu Jul 12, 2007 7:41 pm
by adnet23
TRY THIS AND PUT IT IN THE DIRECTORY OF THE SITE:
#
# mod_rewrite in use
#
RewriteEngine On
# Uncomment following line if you get 403 Forbidden Error
#Options +FollowSymLinks
# Uncomment following line if your webserver's URL
# is not directly related to physival file paths.
# Update YourMamboDirectory (just / for root)
RewriteBase /
#
# Rules
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]
RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section
########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section
########## 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 tag in URL
RewriteCond %{QUERY_STRING} (\|%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
Re: Core SEO wont work - 500 internal error - Godaddy Server
Posted: Thu Jul 12, 2007 9:13 pm
by newseed
Thanks for your help. As soon as I read your post, I managed to get it to work using ALTIRO JoomlaSEF. However, I never got it to work with Joomla's core SEF.
Strange!
Thanks again!
Re: Core SEO wont work - 500 internal error - Godaddy Server
Posted: Thu Jul 12, 2007 10:56 pm
by adnet23
Nice... As long as it works one way or the other. I also found having joomsef 1.5.1 worked and older versions did not.
Re: Core SEO wont work - 500 internal error - Godaddy Server
Posted: Thu Aug 02, 2007 1:28 pm
by skyhorse
I have tried all the posts above, however, none worked for me.
Except this one:
Code: Select all
RewriteEngine On
RewriteBase /
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
I got this configuration from one Vietnamese guy, maybe his website is : vinaora.com.
Thanks him for that.
Ps: I also use Deluxe package on godady server.
Re: Core SEO wont work - 500 internal error - Godaddy Server
Posted: Thu Nov 22, 2007 9:49 am
by chey
adnet23 wrote:
Nice... As long as it works one way or the other. I also found having joomsef 1.5.1 worked and older versions did not.
i know this post has been abandoned for a while, but i was close to giving up on JoomSEF till i saw that solution. OpenSEF suddenly failed on me(giving me any possible errors) so i tried a new component. saw JoomSEF and also got so many errors till i installed 1.5.1. i didn't even need to change any configurations and BAM! it's done. i had been sweating over this problem for 48 hours!! thanks so much!