Moodle

Networking: connection to a remote server doesn't put a slash a the end of the url

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.1
  • Fix Version/s: 1.9.2
  • Component/s: MNet
  • Labels:
    None
  • Environment:
    WAMP (wampserver 2.0) + Vista
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

My WAMP doesn't accept url without end slash. When I tried to connect to a remote Moodle, the url has not slash:
http://jerome.moodle.com/moodle19 (not ok) => http://jerome.moodle.com/moodle19/ (ok)

Is there some rules saying that the apache server should allow url without slash?
I don't know if we can consider that as a bug.

Activity

Hide
Jerome Mouneyrac added a comment -

Note that with this problem, I can continue to work/connect on firefox (I reload with a /).
On IE it doesn't give me the right address (http://.../moodle19second/auth/mnet/jump.php?hostid=4), but I still can continue to connect. I just have to reload the http://.../moodle19/, as I do with firefox

Show
Jerome Mouneyrac added a comment - Note that with this problem, I can continue to work/connect on firefox (I reload with a /). On IE it doesn't give me the right address (http://.../moodle19second/auth/mnet/jump.php?hostid=4), but I still can continue to connect. I just have to reload the http://.../moodle19/, as I do with firefox
Hide
Jerome Mouneyrac added a comment - - edited

ok I resolved it.

My apache alias was :

Alias /moodle19/ "c:/Users/jerome/Projects/branch19_STABLE/moodle/"

<Directory "c:/Users/jerome/Projects/branch19_STABLE/moodle/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>

It should be :

Alias /moodle19 "c:/Users/jerome/Projects/branch19_STABLE/moodle/"

<Directory "c:/Users/jerome/Projects/branch19_STABLE/moodle/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
</Directory>

Show
Jerome Mouneyrac added a comment - - edited ok I resolved it. My apache alias was : Alias /moodle19/ "c:/Users/jerome/Projects/branch19_STABLE/moodle/" <Directory "c:/Users/jerome/Projects/branch19_STABLE/moodle/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny Allow from all </Directory> It should be : Alias /moodle19 "c:/Users/jerome/Projects/branch19_STABLE/moodle/" <Directory "c:/Users/jerome/Projects/branch19_STABLE/moodle/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny Allow from all </Directory>

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: