I have website for audio and videos. My problem is that an audio is not running on Server but working on local.
I created a folder where only html files are there and it is working fine on that folder.
But an another folder where are audios and videos are managing via database;
and I an HTML that contains mp3 still that file does not run http://websitesolutionsindia.in/projects/pansha/audio_details.html (Not Working)
I am using .htaccess for url rewriting; it is cause for this ?

http://websitesolutionsindia.in/project_test/audio-pansha/audio_details.html working fine

Recommended Answers

All 8 Replies

Member Avatar

mod-rewriting can cause internal links to misfire :) Try absolute referencing to see if that works (http://...)

BTW - you know you can use ignore directory statements in your htaccess right?

Fix Rewrite

Options -Multiviews
RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-f

Above statements are using in my .htaccess file..

Member Avatar

So what do you want?

RewriteCond %{REQUEST_URI} !^(video|audio|images|css|js)

Something like that?

How I can run my mp3 files on server ?

Member Avatar

Did you try modifying your htaccess with the line I provided or absolutely referencing your files? Until you try those...

I am using absolutely referencing my files and working fine. If I want to use .htaccess then how I can ?

Member Avatar

This thread seems to be solved. Do you still require help?

No.. and Thanks for Help..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.