× Here you can get community support related to ReDJ.

What am I doing wrong?

  • david.odriscoll
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 3 months ago #220 by david.odriscoll
What am I doing wrong? was created by david.odriscoll
Hi

I'm new to this component, and I may be doing something obvious wrong, but I can't find anything to explain it in the forum.

I am attempting to set up a redirect
from: www.eclipse.aaq.org.au/resources/activity01
to: www.eclipse.aaq.org.au/index.php/classroom-activities/eclipse-activities/135-activity-01


To do this, I created a redirect as follows:

From URL: /resources/activity01
To URL: http://{siteurl}/index.php/classroom-activities/eclipse-activities/135-activity-01
Type: 301

The plug in is activated and set up as per the tutorial.

When I try to use the redirection, I get:

Not Found

The requested URL /resources/activity01 was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.0.64 (Unix) mod_ssl/2.0.64 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at eclipse.aaq.org.au Port 80

Any suggestions would be greatly appreciated.

Regards
David

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #221 by admin
Replied by admin on topic Re: What am I doing wrong?
Hi David,
the error page you get comes from apache, so there's no way for Joomla and ReDJ to do something...

To solve this you should add this line at the end of .htaccess file:
ErrorDocument 404 /

In this way you are telling to Apache to pass all 404 errors to Joomla (and ReDJ).

Kind regards,
Luigi
The following user(s) said Thank You: david.odriscoll

Please Log in or Create an account to join the conversation.

  • david.odriscoll
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 3 months ago #224 by david.odriscoll
Replied by david.odriscoll on topic Re: What am I doing wrong?
Brilliant Luigi! That worked perfectly. Now I can get this working and see what the component can really do. Once again, thanks.

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #226 by admin
Replied by admin on topic Re: What am I doing wrong?
U're welcome.

Please Log in or Create an account to join the conversation.

Time to create page: 0.175 seconds