I feel like I'm losing my mind; I don't know what to do with this module.

The README.txt talks about great features but it really doesn't tell you what to do.

I have a development environment, with no modules enabled (well actually, Administration Menu, Environment Indicator, Database Logging, Menu and Update Status) and I installed the following modules: Path, FileField Paths, Token and File Aliases.

Where are the Aliases setup? I tried to create a URL Alias of:

Existing system path: http://mydomain.com/sites/default/files/
Path alias: http://mydomain.com/files

but I get an error:

The path '/sites/default/files/' is either invalid or you do not have access to it.

Any suggestions?

Comments

deciphered’s picture

Hi,

Settings are in the same section as the FileField Paths settings, check it's project page or README.txt for the details.

On holidays, so that's about the best I can help for the moment.

Cheers,
Deciphered.

waverate’s picture

Deciphered,

That helps. I didn't realize that I had to install a module first; like image. Now , at least I can find some configuration options under /admin/settings/image/nodes

However, I don't understand the premis of this module. If I have my files in:

- sites/default/files

can I create an alias so that the files can be reached at http://domain.com/files?

deciphered’s picture

Yes and no, you can't just create an alias that will make all the files in that directory available with the new path, it is per file.
So every file uploaded with FileField or any of the other options is assigned an alias when it's uploaded.

You'd probably be be better off with a .htaccess rewrite rule that will cover the whole contents of the directory.

Cheers,
Deciphered.

deciphered’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

The Drupal 6 version of this module will not be receiving any more support.