The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Fri Jun 29, 2007 4:25 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Jul 18, 2006 4:31 am
Posts: 187
Location: New York, NY, USA
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:
#
# 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

_________________
Free Software Support for the design community: tang3d[dot]com
website development news: developsis[dot]com


Last edited by adnet23 on Fri Jun 29, 2007 5:49 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Fri Jun 29, 2007 5:24 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 8:55 pm
Posts: 19645
Location: Nijmegen, The Netherlands
Could you change your .htaccess:
RewriteBase /tvadam
into
RewriteBase /
or
# RewriteBase /tvadam

_________________
Kind Regards,
Peter Martin, Global Moderator - Community Leadership Team
http://www.db8.nl - Joomla specialist, Nijmegen, Nederland
Joomla 2.5 multilanguage in 10 steps: http://www.db8.nl/en/joomla-presentatio ... ge-website


Top
 Profile  
 
PostPosted: Fri Jun 29, 2007 5:48 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Jul 18, 2006 4:31 am
Posts: 187
Location: New York, NY, USA
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.

_________________
Free Software Support for the design community: tang3d[dot]com
website development news: developsis[dot]com


Top
 Profile  
 
PostPosted: Fri Jun 29, 2007 6:07 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 8:55 pm
Posts: 19645
Location: Nijmegen, The Netherlands
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,  8) but your "thank you" was enough...

_________________
Kind Regards,
Peter Martin, Global Moderator - Community Leadership Team
http://www.db8.nl - Joomla specialist, Nijmegen, Nederland
Joomla 2.5 multilanguage in 10 steps: http://www.db8.nl/en/joomla-presentatio ... ge-website


Top
 Profile  
 
PostPosted: Thu Jul 12, 2007 6:50 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Feb 06, 2007 3:40 pm
Posts: 173
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:
# -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.


Top
 Profile  
 
PostPosted: Thu Jul 12, 2007 7:41 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Jul 18, 2006 4:31 am
Posts: 187
Location: New York, NY, USA
TRY THIS AND PUT IT IN THE DIRECTORY OF THE SITE:

Quote:
#
# 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


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group