Forum Moderators: phranque
Is it possible to set an attribute in .htaccess that if someone is accessing an .mp3 file from my website then a popup window should appear.
I also want to read about .htaccess and especially hot linking stuff -
I know their is this [httpd.apache.org...] site, but what I need is in more simple words, like what [f] means, and how you set attributes and such things –
Hope someone out their have time to answer my question
Advanced Thank you
To find out what things like [F] mean, look up the directive that it is used with (RewriteRule) in the Apache documentation -- Use the 'alphabetic' lookup if you don't know what module a directive belongs to.
As for pop-ups, those are client-side JavaScript things, and there is no simple server-side implementation, short of using DHTML (another thing to look up via search) on your pages to simulate a pop-up.
And be aware that modern browsers can block pop-ups, and since they have been abused and over-used in the past, many users take advantage of this and *do* block them. So don't rely on pop-ups for anything important to the functioning of your site.
There are some links to resources in our Apache Forum Charter, and tutorials in the Apache Forum Library. Those are a good place to start, but again, they're not "simple." As a result, it's probably time to decide whether you want to invest some time (a year, maybe?) in learning about your server and programming, or to hire someone to take care of this stuff for you as-needed.
I have found that there is nothing more motivating than 'a need' to do something on your server -- Use that need to push yourself to learn. I also found that at first, things don't make much sense, but as you read more, and various documents discuss the same kind of problem from different angles, things start to come together and become clearer. So I encourage you to 'carry on' and keep going, even when things seem a bit muddy.
Jim