Menu

Suggestion: custom folder names

dudeforge
2006-07-07
2013-04-15
  • dudeforge

    dudeforge - 2006-07-07

    I'd like to be able to have custom names for the folders I put things at. It would be nicer to have a site setup as such:

    http://www.example.com/m.php?p=filename.exe
    than
    http://www.example.com/dsplus/m.php?p=filename.exe

    I'd like to setup in the config the name of the folder holding the files and the name of the file holding the dsplus stuff and the locations of these.

    I could easily put the ds_files stuff in a non-web accessible folder with a location and name of my choosing and a place for the dsplus stuff at a location and name of my choosing.

    This would give us nicer URL to link to. Just a thought, good script though :)

     
    • StingRay2k01

      StingRay2k01 - 2006-07-07

      The contents of the dsplus directory can be moved to your webroot. They do not need to be in the dsplus directory. However you would have to move all of the contents.

      And I bleive you might be able to change the ds_files directory to a different name, you just need to update the paths in the config file.

       
    • dudeforge

      dudeforge - 2006-07-08

      I was thinking the files were hardcoded to look for the DSPLUS folder and the ds_files folder above it?

       
      • StingRay2k01

        StingRay2k01 - 2006-07-09

        At installation, yes. But you can change the location of the ds_files directory in the config file.

        And it does not matter where m.php is located (although you will need to move the images and css file with it).

         

Log in to post a comment.

MongoDB Logo MongoDB