Bad Link in Invitation Email
Submitted by Tate on Thu, 01/24/2008 - 19:53.
This is very small problem that can be worked around by not sending an invitation email, but if there is an easy fix I'd like to do it so I can utilize that function.
The link in the invitation email that is sent to newly added members ends with /projectpier when it really ought to end with /projectpier/index.php so that it actually goes to the index page and not an ugly list of all the folders that exist on the site.
I'm a newbie so maybe there is a configuration that would automatically send it to the index page, but currently it does not for me.
Is there a way to configure my site better or change this link easily?
Thanks!

Hey Tate,
While we might consider changing the invitation email link, you should actually configure your webserver so that 1) you don't see directory listings like that, it is a fairly major security risk outside of any pp stuff 2) set index.php to be your default home page - i usually set the order to be index.htm, index.html, index.php but you only really need to worry about the index.php being returned.
Go ahead and file a bug report (minor issue) for changing the email link and we'll look at it for the next version
Thank you for responding.
I'm not sure how to do configure my web server as you are describing (I guess I can redirect?), but I'll try to figure it out right away.
Thanks again.
Hi Tate,
are you running Apache by any chance?
I take it that you're not too much familiar with the configuration of your webserver. If you are, my apologies, or if you don't use Apache, that might still be useful for others.
So, for Apache (I don't know about other webservers but I suppose it's not too different):
- the config file is httpd.conf and is in the folder Apache/conf/ (or something of that kind)
- to remove the ability to browse a folder, you need to remove the option Indexes in the Directory
- to serve index.php pages when linked to a folder, you need to add index.php to the list of DirectoryIndex (DirectoryIndex: sets the file that Apache will serve if a directory is requested.)
I suggest you do a search for the keyword "Indexes" and "DirectoryIndex" to find out more in the comments of the file.
And if you're using something else than Apache, well, I don't know the keywords used but generally, looking at the configuration file helps a lot.
Good luck and let us know...
Tim
Hey Tim, thanks for your thoughtful response.
I've got my domain hosted on a shared server with hostgator. I started trying to screw around in cpanel with the "index manager" and caused an error message to keep coming up when I tried to go anywhere in the subdomain I had set up for pp.
So, I wrote a ticket and the problem was resolved, but I never found out how or of there was anything more I could have done.
So, I suspect what you mention here was dne without my knowledge, but thanks again for helping me understand a little more about these set up issues!
Tate.
I am having no luck getting any email (notifications, tester, mass, etc) to go through. Would something like this fix all email issues? The application is saying the email is succesffully sent...but then it never comes through. I am also fairly new to programming...but i could have my host do this I'm sure.
Thanks!
If you're having issues actually sending the emails, then you haven't had any links to look at. Getting emails sent is usually an issue for configuration in your PHP settings and sometimes certain hosts put restrictions or prevent you from doing that, so you might check the documentation for more details and also talk with your host to make sure you have all the details you need.