icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old September 13th, 2006, 5:03 AM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2005
4 posts
Gave thanks: 0
Thanked 0 times
404 error on migrated joomla site, sef

i have moved my locally installed joomla site to my reseller server. to get it to work (after installing joomla core then uploading all my files), i had to undo the changes i did to get core SEF and openSEF. so my site works without any sef turned on, otherwise i get 404 errors. i have read jooma.org forums, opensef forums, and here and have tried many settings in the .htaccess file. i am really narrowing it down to the server, that its restricting me somehow.

how can i be absolutely certain that its not the setting of the server that is giving me errors? please check or help me check the server... thanks
jasonl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 15th, 2006, 7:53 PM   #2 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2005
4 posts
Gave thanks: 0
Thanked 0 times
Thumbs up 404 error with SEF solved

thanks to Amal, who gave me the right answer after 2 days and 4 other folks from surpass tryin to any my questions, i got it worked out

the problem was that (for my own reasons) i was not using a domain name (yet) but the surpass name http://xx.xx.xx.xx/~username
and SEF doesn't like the ~

of course i first went through this checklist for SEF troubleshooting. note, you want to get the Joomla core SEF working first before tryin any third-party SEF components

SEF Troubleshooting

To turn SEF support ON:
1) You must run Apache
2) You must have mod_rewrite enabled
3) Your server must allow .htaccess override
4) Set $mosConfig_sef= "1" in configuration.php
5) Rename htaccess.txt to .htaccess

You will notice that sections/content/items have nice URLs like:
http://www.site.com/content/view/5/2/
and components have URLs like:
http://www.site.com/component/option...tact/Itemid,3/

Troubleshooting
If you expirience problems with SEF please make sure you tripple checked these troubleshooting steps:
1) You must run Apache
To check this go to Mambo administration > System > System Info. Server type should be listed next to Web Server. SEF will not run on IIS, so don't bother trying.
2) You must have mod_rewrite enabled
To check this go to Mambo administration > System > System Info. Click on PHP Information tab. Scroll down until you find Loaded Modules row. mod_rewrite should be listed here. If it's not ask your web host to activate mod_rewrite.
3) Your server must allow .htaccess override
To check this delete everything from your .htaccess file and write a simple command here, for example:

Redirect /google.html http://www.google.com

Now point your browser to http://www.yoursite.com/google.html If it redirects you to google.com then you are OK.
4) Set $mosConfig_sef= "1" in configuration.php
You can also activate SEF under Site > Global Configuration.
5) Rename htaccess.txt to .htaccess
This can be done with a FTP program. Note the dot in the beginning! Also note that you can't do this on windows, you must rename it directly on server.
jasonl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 15th, 2006, 9:31 PM   #3 (permalink)
Surpass Fan
On a golden path...
 
pizzicar's Avatar
 
Joined in Feb 2006
Lives in Arizona
344 posts
Gave thanks: 3
Thanked 16 times
Glad you found an answer for this. I did some searching but did not find a direct answer when you first posted.

And welcome to he Surmunity Forums too
__________________
"Argue for your limitations, and sure enough, they are yours"
pizzicar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On