After saving a htaccess file, why the text is on one line

hello all,
I am a webmaster and some time I have to setup a htaccess file (.txt file)When I edit it with Textedith, I make a modification and I save it. Nothing works.
When I open the same file with a PC, all the text is in one line. of course it will not work.
Can some one tell me why the file is not saved in the format when I open it, so it saved in one line?

TextEdit isn't the best choice for editing configuration files, since it doesn't use Unix line endings -
I thought TextEdit did use Unix line endings (LF). The reason it is all one line on a PC is that PC's do not, and thus will only display new lines if line endings are Windows format (CR + LF).
I don't think there should be any problem editing config files with TextEdit, but TextWranger is better, and it also easily handles file names that begin with a dot.

Similar Messages

  • Why the text field frame's line width cannot be adjusted?

    I am now working on a PDF file with some text fields with combo turned on, specifying the number of chars the fields can hold. Their frames' line width is not thick. This is what I want. This is shown in the picture below:
    But when I try to preview the PDF, I discover that these fields do not follow what I have specified: no matter what thickness I choose, the frames are always thick. I want them to be thin!
    See below:
    Why is it so? What should I do? Any ideas are welcomed.

    I have sent my form to you to take a look. Thanks for your support!
    By the way, I have uninstalled Acrobat 8 and installed Acrobat 9 Pro, but I am facing serious problems. Whenever I open Acrobat I will face an EULA page and if I click "Accept" or "Decline", the whole program will close immediately.
    I have googled and added an EULA value (=1, in hex) in the regedit. No effect. I want to uninstall Acrobat 9, and there is NO RECORD in the Install/Uninstall section in the Control Panel. I am using Vista Home Basic.
    I am now frustrated. I tried Acrobat 9 and it failed, and now I can't even uninstall it and revert to ver 8.......My God....

  • How can I make a form where text flows from one line to another?

    I have created a fillable multi page form in Adobe Acrobat Pro XI. The form was originally created in InDesign, using lines for text. I saved as an interactive pdf, opened in Acrobat Pro, and created a form using the "Create Form" function. This worked great, but some parts of the form have multiple lines that need to be filled out, so the customer would continue typing and the type would flow from one line to the next. Right now the lines are individual fields. Can I easily convert these fields so that the text goes from one line to the next as the person filling out the form types?
    Thank you for the help.

    The easiest way is to do a slight redesign to get rid of the lines and then use a multiline field instead of multiple single line fields. If you really need to have the lines, you can use an approach that's demonstrated in the following sample: https://workspaces.acrobat.com/?d=AG6oZ3bi3DYHokxDPeWN7A
    You may come across attempts to use JavaScript to automatically move to the next field when the previous one is filled-up, but I've never seen this work very well.

  • In search results, Summary sometimes shows the top of file, not the text I searched for

    I'm searching lots of html files, it's a web site that's not imported into Sharepoint. Search is returning the correct files, but about half the time the Summary contains the text at the top of the html file, not the text surrounding the text I searched
    for. It's a big problem, users have to open the file then find the search text to see if it's useful.
    If I search for 'potato' here's an example Summary which is ok:
    All pages in issue FTDA-1983-0409:
     00010002000300040005000600070008000900100011001200130014001500160017001800190020
    … today's dieticians, the potato … most of us enjoy a
    potato cooked …
    Here's a Summary just showing text from the top of the file, 'potato' is present, but lower in the file:
    0001000200030004000500060007000800090010001100120013001400150016001700180019002000210022002300240025002600270028
    … issue: date: January 19, 1980, page …
    Could anyone help me get it to consistently show the text around the search text please?

    You can't attach a screenshot to the first post that starts a thread, but you can do that in subsequent replies.
    Does this only happen on one specific website?
    Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?
    It is possible that there is a problem with that web page and that there is a clear:both CSS rule missing that causes Firefox to start the next line at the horizontal position where the previous line ended.
    If you have made changes to Advanced font settings like increasing the minimum/default font size then try the default minimum setting "none" and the default font size 16 in case the current setting is causing problems.
    *Firefox > Preferences > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow pages to choose their own fonts.
    *Firefox > Preferences > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"

  • Text has just one line left on the bottom to write in.

    I have a BB Curve 8900 v5.0.0.900 (Bundle 1626, PkRDIEN 5.2.0.96) with T-Mobil service. I did the update for my phone a while ago. When I want to do a text message, the screen displays the previous message over most of the screen with just one line left on the bottom to write in. It makes writing a text a pain because I have to scroll up every time to make sure my text is correct. I've tried to live with this but I don't love it. Can I change this?
    Thank you,
    Girlfriend

    The easiest solution is VPN on Demand
    System Preferences -> Network -> (VPN) -> Advanced -> VPN on Demand
    Add the hostname/domain name of the resource you're trying to access over VPN to this list. Now the OS will track any access attempt to the specified hostname/domain and will automatically bring up the VPN connection (prompting for username/password if needed).
    As for the Dock icon, that depends on the resource you're accessing.
    If it's a file share, just mount the share manually then drag the share's icon from your desktop to your Dock. You can now click on the Dock to mount the sharepoint (initiating the VPN connection thanks to VPN on Demand).
    If it's a web site, drag the URL from your browser to your Dock. Clicking the icon will launch the URL in your preferred browser (again, triggering VPN on Demand as appropriate).

  • Loadjava puts the whole program on one line

    Hi,
    I have used the loadjava facility standalone and within Oracle9i jDeveloper and found that when I upload the java source, it puts the whole program on one line. Also if I have left blank lines in the source code, they appear as 'null' in the stored procedure.
    See below is my code:
    package mypackage1;
    public class HelloWorld
       public static String world ()
          return "Hello world";
    }and this is what it looks like if I open the Java classes in jDeveloper:
    package mypackage1;nullpublic class HelloWorld{   public static String world ()   {      return "Hello world";   }}nullI am using a windoes 2000 box.
    Why is this happening?
    Thanks
    Jag

    Thanks, i'll try it out,
    However, it isn't just the code that appears on one line. All teh functions and packages all appear on one line and they are generated either by JDev and hence are out of my control.
    You would have thought that this would have been one of the types of things the JDeveloper development team would have tested, so i'm hoping it just a configuration somewhere.
    Thanks
    Jag

  • Is there a fax cover template?  If not, how can I have 2 text fields on one line?

    Is there a fax cover template?  If not, how do you add two text fields on one line?    

    No fax cover template. This forum posts explains how to put multiple fields on one line:
    http://forums.adobe.com/message/5032849

  • Audio sync problem after saving to QuickTime file

    Hi there, I'm relatively new to Adobe Premiere - I'm not quite knowledgeable enough about video editing to really use it to its full potential but needed something more flexible than Windows Movie Maker.  I haven't had any problems before editing smaller files, but am having tons of trouble with a 2.7 gig file.
    I'm trying to take a 2.7GB .MOV file recorded on a Kodak Zi6 and divide it into three roughly equal parts to use an email sharing service that has a maximum file size of 1GB (I know that there are sites that will allow 3GB files and I wish I could use them, or use an FTP server, but the person who needs the video needs it to be sent over his own company's file sharing system).  It was recorded on an 8GB SD card, that SD card was put into my computer, and I then transfered it over to Premiere Elements 8.
    I rendered the entire file first (it wouldn't even play until I did that) and after rendering, the audio and video were good and everything was synced up.  I then split the clip into three and saved each as a separate project.  Then I opened one up again and tried to save as a Quicktime file (that's what the person I'm sending it to requested).  All seemed to go well, and for the first minute or so of the 15 minute clip everything is great.  Then after that, the audio gets more and more out of sync as the video plays on.  I tried playing it on several different players, same thing.
    My computer (a Cyberpower PC) is running an Intel Core i7 CPU, 870 @ 2.93GHz 3.06 GHz; 8 GB of RAM; NVIDIA GeForce GTX 285; Windows 7 Home Premium.  I'm not sure where to get the rest of the information requested in the "How to best ask for help" post but if you can give me some guidance I'll find it.
    The presets are on the defaults because I wasn't aware of them until I came to this forum.  Happy to try the whole process again if someone can tell me what the presets should be changed to.
    I'm looking for a solution to this particular problem, but am also looking for some basic help about files.  The files that I used most often usually come from a Kodak Zi6 (.MOV) or a Flip Mino HD (MPEG4 I think; had to convert those to something else to use them in Premiere at all).  I have AVS Video Converter 6, so I can convert those files to pretty much anything.  I'm wondering what I should convert files to before trying to edit them in Premiere, and how best to save them.  I rarely use the files anywhere but online if that helps (this particular 2.7GB file being a big exception) at a maximum width of 550 pixels, so I don't think I need the quality to be all that great; it's more important to me to be able to work a bit quicker, without rendering that takes hours.
    I'd also love to take advantage someday of some of the more advanced features of Premiere, so I was wondering if anyone knows of any tutorials that will walk me through things in a linear way (as in, start from the beginning and teach me what I need to learn before moving on to something more complicated).
    Thanks so much for your help, and please speak slowly; I'm in over my head!

    Very well-done post, and welcome to the forum.
    First, many have issues with OOS (Out Of Sync) with QT files on Export/Share. This is not just with PrE, but PrPro also. Unfortunately, OOS is pretty easy to fix, when you encounter it on the Timeline, but almost impossible to fix when it creeps in during Export. As an aside, I fought some MPEG Audio from a client, that was perfect in the Timeline, but when Exported to MPEG-2 for DVD-Video, ALWAYS went OOS dynamically, and even adjusting for that on the Timeline (rather guessing how much OOS the other direction I needed,) just flat would not do it. Sync would be fine for awhile, and then suddenly start going out, before miraculously returning to sync with the next Clip. Never could get that one correct.
    In your MOV Export/Share, I am not certain which CODEC you chose. Was it H.264?
    Within the MOV "wrapper," did your recipient give you any options for the enclosed CODEC's, or is the wrapper and the file size the determining factors?
    Wish that I had more to offer directly, rather than questions.
    As for the tutorials, I strongly recommend Steve Grisetti's Learning Series, his Boot Camp and his many articles and general PrE tutorials on Muvipix. He also has several books, available there too.
    Good luck,
    Hunt

  • How can i add a file name(the text of the file name) as a child node to existing node in a treeView1 ?

    bool exists = false;
    TreeNode newNodeParsed = null;
    TreeNode rootNode = treeViewMS1.Nodes[0];
    TreeNode nextNode = rootNode;
    string f = Path.GetFileName(txtUploadFile.Text);
    TreeNode subnode = new TreeNode(txtDir.Text);
    TreeNode filename = new TreeNode(f);
    if (!txtDir.Text.Contains("/"))
    foreach (TreeNode node in rootNode.Nodes)
    if (node.Text == txtDir.Text)
    exists = true;
    break;
    if (exists == true)
    subnode.Nodes.Add(f);
    else
    rootNode.Nodes.Add(subnode);
    subnode.Nodes.Add(f);
    The rootNode is the root directory in the treeView1
    subnode is a node inside the root. For example the subnode name is manuelisback
    I'm checking if the subnode exist i want to add the file for example (lightning1.jpg) to be under subnode.
    If the subnode is not existing add the subnode to the root and then add the file name lightning1.jpg under the subnode.
    But the file name is never added under the subnode:
    I added manualy the lightning1.jpg under test.
    But the lightning1.jpg also should be added to be under manuelisback. There should be two lightning1.jpg here.
    One under manuelisback and one under test. The one under test i added manualy from my ftp server.
    But the one i want to be under manuelisback i'm trying to add from my program and it dosen't add it to there.
    And when i'm using a breakpoint i see on subnode the text manuelisback and i see on f the text lightning1.jpg

    If I understand your question correctly, you might want to try changing:
    if (!txtDir.Text.Contains("/"))
    foreach (TreeNode node in rootNode.Nodes)
    if (node.Text == txtDir.Text)
    exists = true;
    break;
    if (exists == true)
    subnode.Nodes.Add(f);
    else
    rootNode.Nodes.Add(subnode);
    subnode.Nodes.Add(f);
    to something like:
    if (!txtDir.Text.Contains("/"))
    foreach (TreeNode node in rootNode.Nodes)
    if (node.Text == txtDir.Text)
    subnode = node;
    exists = true;
    break;
    if (exists == true)
    subnode.Nodes.Add(f);
    else
    rootNode.Nodes.Add(subnode);
    subnode.Nodes.Add(f);
    rootNode.Nodes.Add(f);
    It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.

  • Saving a .pdf file into the network shared drive from Outlook 2013

    Hello sirs,
    I have one client that having the file saving issue into the shared drive from outlook 2013.
    I have isolated the network portion and confirmed that there is nothing to do with the network. They have 1 host server which has 2 VMs inside (DC & FS). Whenever they want to save .pdf file into the shared drive, "Saving" message box popped up and showed for about 1 min to complete the file saving. I have tested with .xlsx & .dcsx but no error saving those files. only for this particular extension that facing this slowness problem. It has been on going for a month already and I couldn't figure it out what could be the issue.
    Please if anyone experienced this issue, I would really appreciate your suggestions & guidance.
    Thank you.
    This topic first appeared in the Spiceworks Community

    I have a script that I am trying to cobble together, but I am stuck at attempting to execute an SQL query against and ADO connection. My code is as follows:Powershell $FQDNUpper = $Computer.ToUpper() + ".domain.dn1.dn2" $FQDNLower = $Computer.ToLower() + ".domain.dn1.dn2" $shell = New-Object -ComObject "Wscript.Shell" # for use later in script $cnn = New-Object -ComObject "ADODB.Connection" $cnn.ConnectionString = "Connection_String" $cnn.Open() $queryUpper = "SELECT CAST(ID AS nvarchar(50)) ID FROM Machine WHERE Name=$FQDNUpper AND Role = 0" $rs = $cnn.Execute($queryUpper,' ',1) #If statement that will qualify if $FQDNUpper returned anything else try $FQDNLowerWhen executing the code I receive an error:
    PowershellArgument: '2' should be a System.Management.Automation.PSReference. Use [ref].At line:9 char:5+ $rs = $cnn.Execute(...

  • Indesign CS5 with PNG file exporting as a PDF file but the text is random bold

    Hello,
    I am looking for help to teach me how to solve this problem.
    I use Indesign CS5 to make a proposal. I set the page marker and sub title in the master page.
    Of course, there are including dozens of pages and some pictures here.
    And one of these page, I place a PNG file and type some text.
    When I export this file as a PDF file, one page, which is including PNG file, the text becomes random bold.
    Therefore, I have used PSD file to cover the PNG file. But finally getting the same problem.
    So does anyone can help me how to solve this problem?
    Thanks so much for your help.

    This sounds like a known issue with transparency on the page. When transparency is introduced ID uses a differnt method, apparently, of rendering text on that page and it appears bolder on screen and can print that way on low resolution devices like desktop printers. It usually is not a problem on press output.
    The only way to mainatian consistency would be to introduce transparency on all pages, perhaps by adding a transparent object to your master page.

  • I've created a Photoshop PDF and all the text is editbale after passing through indesign to add crop marks and bleeds - one line now isn't editable, what's causing this

    I've created a Photoshop PDF and all the text is editable in the resulting PDF.
    The PDF created by Photoshop is completely editable, all text! I put it through indesign so I could add crop marks and reduce the pdf file size and now all the text is editable except one line!
    I've not used any faux styles or effects...what could be causing this?
    Thanks!

    I've created a Photoshop PDF and all the text is editable in the resulting PDF.
    The PDF created by Photoshop is completely editable, all text! I put it through indesign so I could add crop marks and reduce the pdf file size and now all the text is editable except one line!
    I've not used any faux styles or effects...what could be causing this?
    Thanks!

  • Modifying and saving a Excel file by the use of Blob-Stream Method?

    Hi everyone...
    I'm trying to change and modify a Excel file which is received as Blob variable from database.
    I wrote a PL/SQL Procedure which get the Excel file and convert it to blob; after that send it as the parameter of a Java source called TestPrintExcel
    CREATE OR REPLACE DIRECTORY VMI_TEST_DIR AS '/afc/opt/dba/test_utl_dir';
    GRANT READ, WRITE ON DIRECTORY SYS.VMI_TEST_DIR TO SYSTEM;
    declare 
       bfi  bfile := bfilename('VMI_TEST_DIR','TestFzglist.xls');
       bin  blob;
       cout clob;  
    begin
       dbms_lob.open(bfi);
       dbms_lob.createtemporary(bin, true);
       dbms_lob.loadfromfile(bin, bfi, dbms_lob.getlength(bfi));
       dbms_lob.close(bfi);
       dbms_lob.createtemporary(cout, true);
       dbms_java.set_output(100000);
       TestPrintExcel(bin);
       dbms_output.put_line('done!');
    end;With the following Java procedure I can read the content of the Excel file and write it to database perfectly. But the question is, how can i save the excel file with the same way, if i would change or insert any cell? I mean with the same way that to save as blob stream. Because i get permission error when i use another methods like FileOutputStream, FileInputStream etc. That's way i want to resolve this problem with the blob-stream method. Can anybody tell me how i can do that or what a method i have to use?
    Thanks.
    create or replace and compile java source named xltest as
      import org.apache.poi.ss.usermodel.WorkbookFactory;
      import org.apache.poi.ss.usermodel.Workbook;
      import org.apache.poi.ss.usermodel.Sheet;
      import org.apache.poi.ss.usermodel.Row;
      import org.apache.poi.ss.usermodel.Cell;
      import org.apache.poi.ss.util.CellReference;
      import org.apache.poi.ss.usermodel.DataFormatter;
      import org.apache.poi.ss.usermodel.FormulaEvaluator;
      import java.util.*;
      import java.sql.*;
      import oracle.sql.*;
      import oracle.jdbc.driver.*;
      public class XLTEST {
        public static void printx( oracle.sql.BLOB xblin ) throws SQLException {                       
          Connection Conn = null;
          try {
            Conn = DriverManager.getConnection( "jdbc:default:connection:" );
            Workbook wb = WorkbookFactory.create( xblin.getBinaryStream() ); // "/afc/opt/dba/test_utl_dir/TstFzglist.xls"
            for ( int sheetNum = 0; sheetNum < wb.getNumberOfSheets(); sheetNum++ ) {  //NumberOfSheets
              String TableName = new String();       
              switch( sheetNum )
                case 0:
                  TableName = "freeimportxls_s1"; break;           
                case 1:
                  TableName = "FreeImportXLS_S2"; break;
                case 2:
                  TableName = "FreeImportXLS_S3"; break;
                default:
                  break;                  
              Sheet sheet1 = wb.getSheetAt(sheetNum);         
              java.util.Iterator<Row> ri = sheet1.rowIterator();                 
              while ( ri.hasNext() ) {
                Row row = ri.next();
                java.util.Iterator<Cell> ci = row.cellIterator();                       
                while ( ci.hasNext() ) {
                  Cell cell = ci.next();
                  CellReference cellRef = new CellReference( row.getRowNum(), cell.getColumnIndex() );                         
                  switch( cell.getCellType() ) {
                  case Cell.CELL_TYPE_STRING:                            
                    Values   += "'" + cell.getRichStringCellValue().getString() + "'";               
                    break;
                  case Cell.CELL_TYPE_NUMERIC:
                    Values   += "'" + cell.getNumericCellValue() + "'";
                    break;
                  case Cell.CELL_TYPE_BOOLEAN:
                    Values   += "'" + cell.getBooleanCellValue() + "'";
                    break;
                  case Cell.CELL_TYPE_FORMULA:
                    Values   += "'" + cell.getCellFormula() + "'";
                    break;
                  default:
                    Values   += "''";               
                  int Counter1 = cell.getColumnIndex() + 1;
                  int Counter2 = row.getLastCellNum();
                  if ( Counter1==Counter2 ) {
                    Values   += ")";                          
                  else {
                    Values   += "," ;
                } System.out.println ( Values );               
                if ( ( sheetNum >= 0 ) && ( sheetNum <=2 ) ) {
                   String sqlUpdate = "INSERT INTO " + TableName + " VALUES " + Values;
                   PreparedStatement pstmt = Conn.prepareStatement( sqlUpdate );                                          
                   pstmt.executeUpdate();           
                   pstmt.close();              
            } Conn.close();
          } catch ( java.sql.SQLException e ) {       
            System.err.println( e.getMessage() );
            e.printStackTrace( System.err );
            Conn.close();}        
      };

    Hi,
    Because i get permission error when i use another methods like FileOutputStream, FileInputStream etc.Permission errors are generally resolved by granting the proper privilege via DBMS_JAVA.grant_permission procedure.
    Have you already tried that?
    http://download.oracle.com/docs/cd/E11882_01/java.112/e10588/chten.htm#BABHDBCJ

  • Saving a mp3 file with the same bitrate as the original

    When I import an mp3 file at a bitrate of f.i. 196 kbps and I alter this file you can choose two options. "save" and "save as". If I choose "save as" I can choose the bitrate etc.
    If I however choose the "save" button you should think that it will save the file at the same bitrate as the original. This is not the case. It will only save the file at 128 kbps no matter at what bitrate the original file is.
    I think that Adobe can simply adjust this in an update or did I miss something so I can set this myself. Currenly I use the demo version and I am thinking of buying this program because it is very good for what I do and it resembles my old Audition a lot except the lack of multitrack recording.

    Hi Piet and Ray,
    This is a bug that affects re-encoding an mp3 and overwriting the original. While we don't recommend re-encoding compressed audio data due to generative quality loss, we regret that in this scenario it also introduces bitrate loss.
    If you choose "Save As..." instead of "Save," you should be able to export your file as an mp3 at the bitrate of your choice.
    Unfortunately, we discovered this bug after Soundbooth had been sent to the manufacturer. We have fixed it internally and if we provide an update, it will be included. I'm sorry about this bug and hope the workaround is not too much trouble.
    Thanks,
    Durin

  • Saving a PDF file without the comments

    In Acrobat Reader, is it possible to save a copy of a PDF file without the comments.
    I'm doing a PhD, and would like to be able to send some scientific papers to colleagues without the annotation I may have added. Of course, manually removing all the comments is not a good solution.

    In the Comment panel, go to the Comments List, press Ctrl+A and then Delete.

Maybe you are looking for

  • Create AAC files from ALAC

    I want to copy some files to a small 30Gig iPod, so do not want to sync large ALAC files over to it. I know it is possible to create AAC versions of the files, but that then leaves me with duplicates of all the songs on the library. I sync'd to the i

  • How to find out import & export path for object migration between D Q & P?

    Hi guys! Is there a way, how to find out export and import path for object transport on XI? Thanx! Olian

  • Tour de Flex app and plugin crash

    I launch Tour de Flex in Mac OS with latest version of AIR installed and I get this error: This application requires a version of Adobe AIR which cannot be found. Please download the latest version of the runtime from http://www.adobe.com/go/getair,

  • Java.policy ignored

    I'm profiling an applet during the code/compile cycle, and I don't want to sign it every time, so I've modified my java.policy file. I've tried many different settings in my java.policy file and they seem to always be ignored. Finally I tried the fol

  • Recommendation for Backup of Virtualized NW6.0-SP5-Servers

    Hi, at time we are learning to fly with ESX and will be moving the first Netware-Server for evaluation and tests in a few days. At time we backup with BackupExec 9.1 right to tape, but my guess is that this will not work on ESX any longer. As we do n