Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • That is the question.

    If I understand correctly...

    You have a script alias of /music/

    That means the URL must be /music/

    If your script alias is /music

    Then the URL can be /music

    (I'm not totally positive... but, I think you have to list both to cover both cases)
    • You're spot on with this - The problem does reside with the directory alias. The better definition of the directory alias would be:
      ScriptAlias /music /correct/path/to/dir

      Note the lack of trailing slashes in both the alias definition and the directory path - This will provide the correct functionality irrelevant of whether the web URL is invoked with the full path to index.pl or merely to the parent directory.

    • Sorry, I got mixed up there a bit.

      Here is what my manual says about DirectoryIndex:

      ---

      The DirectoryIndex directive sets the list of resources to look for, when the client requests an index of the directory by specifying a / at the end of the a directory name.