Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The icons folder conflicts with the default apache alias #1

Closed
anjinkristou opened this issue Mar 11, 2013 · 11 comments
Closed

The icons folder conflicts with the default apache alias #1

anjinkristou opened this issue Mar 11, 2013 · 11 comments

Comments

@anjinkristou
Copy link

The icons folder conflicts with the default apache alias. I would recommend to change the name to images or something else.

@MrBertie
Copy link
Owner

I'm running 3 default Apache servers with Taskpaper and have never heard of
or had this problem. Allow me to do some research before I begin changing
my folder names or source code, and I'll get back to you.

On 12 March 2013 02:24, Mehrez Kristou notifications@github.com wrote:

The icons folder conflicts with the default apache alias. I would
recommend to change the name to images or something else.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

@MrBertie
Copy link
Owner

Is this the problem you are having?


Apache and icons directory
Posted March 28th, 2010 in Apache

Default installations of Apache usually alias /icons to Apache's icons directory which cannot be overridden in an .htaccess file. If you do not control the Apache configuration of a server, and for maximum compatibility, it is always best to never have an /icons directory at a website's root level.

Example default configuration

On a Debian box, for example, the following is defined at /etc/apache2/mods-available/alias.conf:
Alias /icons/ "/usr/share/apache2/icons/"

If you control the server you could easily enough disable this alias, or change it to something else. The alias directive cannot be changed in a .htaccess file so if you do not control the server you will not be able to change it.

As I mentioned in the opening paragraph it's better for compatibility purposes to assume you can never change this so if you have to move your website to another server you don't have issues.

The solution

I ran into this issue the other day when I decided on a new website to put the icons I was using for some admin pages into a directory called /icons at the website's root level. Of course, I ended up without the icons displaying and a bunch of 404 errors in my log file like this:
File does not exist: /usr/share/apache2/icons/myicon.png

The best solution is to either put your icons directory into a subdirectory, or give it a different name if it's at the root level. In my case I moved it so it was a subdirectory of /images.


From what I can see are you using Taskpaperplus in the web root folder. I always run it in a separate Taskpaper subfolder, so have never experienced this problem.

What are your thoughts?

Symon

@anjinkristou
Copy link
Author

Yes, I faced this problem when I deployed the app on my apache2 on Ubuntu 10.11

@anjinkristou
Copy link
Author

I think it would be better to change the name of the folder as it is similar to default one. The change will not cost a regression I think.
These were my two cents.

@MrBertie
Copy link
Owner

MrBertie commented Apr 9, 2013

const and regression?

On 9 April 2013 10:20, Mehrez Kristou notifications@github.com wrote:

I think it would be better to change the name of the folder as it is
similar to default one. The change will not const and regression I think.
These were my two cents.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-16097902
.

@anjinkristou
Copy link
Author

Sorry. I wanted to say. It will not cost a regression.

On 2013/04/09, at 17:25, MrBertie notifications@github.com wrote:

const and regression?

On 9 April 2013 10:20, Mehrez Kristou notifications@github.com wrote:

I think it would be better to change the name of the folder as it is
similar to default one. The change will not const and regression I think.
These were my two cents.

�\
Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-16097902
.


Reply to this email directly or view it on GitHub.

@MrBertie
Copy link
Owner

MrBertie commented Apr 9, 2013

Okay, I shall see what I can do... watch for a new GitHub push in the
coming days

Symon

On 9 April 2013 14:17, Mehrez Kristou notifications@github.com wrote:

Sorry. I wanted to say. It will not cost a regression.

On 2013/04/09, at 17:25, MrBertie notifications@github.com wrote:

const and regression?

On 9 April 2013 10:20, Mehrez Kristou notifications@github.com wrote:

I think it would be better to change the name of the folder as it is
similar to default one. The change will not const and regression I
think.
These were my two cents.


Reply to this email directly or view it on GitHub<
https://github.com/MrBertie/taskpaperplus/issues/1#issuecomment-16097902>
.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-16106853
.

@anjinkristou
Copy link
Author

Thank you. 

Sent from Mailbox for iPhone

On Tue, Apr 9, 2013 at 9:57 PM, MrBertie notifications@github.com wrote:

Okay, I shall see what I can do... watch for a new GitHub push in the
coming days
Symon
On 9 April 2013 14:17, Mehrez Kristou notifications@github.com wrote:

Sorry. I wanted to say. It will not cost a regression.

On 2013/04/09, at 17:25, MrBertie notifications@github.com wrote:

const and regression?

On 9 April 2013 10:20, Mehrez Kristou notifications@github.com wrote:

I think it would be better to change the name of the folder as it is
similar to default one. The change will not const and regression I
think.
These were my two cents.


Reply to this email directly or view it on GitHub<
https://github.com/MrBertie/taskpaperplus/issues/1#issuecomment-16097902>
.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-16106853
.


Reply to this email directly or view it on GitHub:
#1 (comment)

MrBertie added a commit that referenced this issue Apr 10, 2013
Github issue: icons folder conflicted with the default apache alias,
changed to images instead
@MrBertie
Copy link
Owner

Done!

@anjinkristou
Copy link
Author

Thank you very much. Keep the great work.

On 2013/04/11, at 3:37, MrBertie notifications@github.com wrote:

Done!


Reply to this email directly or view it on GitHub.

@MrBertie
Copy link
Owner

You are welcome. There is an updated help file too explaining how to use
the program.
Symon
Le 11 avr. 2013 15:46, "Mehrez Kristou" notifications@github.com a écrit :

Thank you very much. Keep the great work.

On 2013/04/11, at 3:37, MrBertie notifications@github.com wrote:

Done!


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-16232092
.

MrBertie added a commit that referenced this issue Mar 9, 2014
! Tags beginning with numbers now ignored (e.g. #1, #12)
! Drag tasks and projects by drag handle only now; allows task text to
be copied, more obvious feature
* Fixed a few IE9 CSS issues: borders on img elements, text-shadow
doesn't work, default to darker text instead
! Softened border line colour; plus small CSS refinements
! Removed brackets around the hit frequency numbers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants