473,385 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Is there any way to add plain file with no extension to AddType?

1
Hello; I have an application that uses hundreds and thousands of plain files (no extension at all). You may have heard of it; PmWiki. Is there any way to add a file that has no extension to the AddType command, or line? Thanks a million! John
Oct 1 '12 #1
1 3766
Luuk
1,047 Expert 1GB
You might use 'ForceType' for these files.

All files in a specified directory are server with the Type specified.
Oct 6 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Els | last post by:
If I use <? include "file.html"; ?> in the html of my document, do I _have_ to change the extension of that document to .php, or would it still work and be valid if I let it remain .html? --...
15
by: alamsetti | last post by:
I have recently installed php, apache on windows xp. I have wrote a simple test file -- test.php <?php echo "hello world" ?>
1
by: john | last post by:
I have an exe console app that i wrote, which works on custom data files. I'd like to give these data files a custom extension and somehow register that file extension with my exe, so all i have to...
5
by: Winston | last post by:
Hi Group, in my aspx page there is an Response.Redirect to a file called myfile.csv. The file consists of plain text with comma separated values. I want that the browser opens the save as dialog...
1
by: Erik Cruz | last post by:
Hi. My application has a page where users can click on some links to download documents. When testing the page I noticed an strange behaviour. One of the links points to a .pps file. When I...
1
by: Joe | last post by:
Hi, I haven’t mastered the asp.net yet to be able to use asp.net 2.0 master pages. So I am planning to create pages with .aspx extension and once I am confident, I will rewrite them using...
3
by: Nate Hekman | last post by:
I have an aspx page that generates a file on the fly for a person to download. It sends these http headers: Content-Type: text/plain Content-Disposition: attachment; filename="myfile.lic" ...
4
by: Benjamin | last post by:
Hi, I'm running PHP as an Apache module. I've always wondered how you set Apache up to parse a file as PHP without a file extension. Do you use the AddType directive?
1
by: Just D. | last post by:
All, Who knows how can we make the IE open the file with some non-standard extension? I have a new file type, say .MOX, I corrected the association on my computer for this file extension,...
2
by: dazzler | last post by:
I need to open PDF file with my python application, and I'm using os.startfile(filename.pdf) command, I would need open command act 100% like clicking the file in the windows explorer python...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.