Where exactly do i upload my htaccess file?

Hi,
I had used the tutorial below to create a htaccess file for playing video on certain mobile devices but I'm not sure where to upload it. Does it just go into the servers root folder? and does it have to have a certain name? Mine is names htaccess.txt
http://camendesign.com/code/video_for_everybody
Any help would be great. Thanks

Krumf wrote:
Hi,
I had used the tutorial below to create a htaccess file for playing video on certain mobile devices but I'm not sure where to upload it. Does it just go into the servers root folder? and does it have to have a certain name? Mine is names htaccess.txt
http://camendesign.com/code/video_for_everybody
Any help would be great. Thanks
It just goes in the remote site root folder i.e., might be named 'htdocs', 'public' or something like that but where you would upload your index.html file to.
There should be a period before the htaccess i.e., .htaccess but NO ext .txt (However you might want to upload the file first and then amend its name as inserting the period will most likely result in it disappearing from your desktop. It does if your using a Mac anyway, not sure about a PC.

Similar Messages

  • How to upload an XML file into another system

    Hi friends,
    I have a requirement where I need to upload an  XML file into one system
    which has been downloaded  using  another  system.
    I have tried using the method ' cl_gui_frontend_services=>gui_upload'
    to upload the file but it is going for dump.
    I have used the  method ' w_xml->import_from_file' also,
    but it is also going for dump ,because  both methods are using the same FM
    ' GUI_UPLOAD'.
    Can any one suggest on this.
    Regards,
    Bhargavi.D

    "Here is the  Explaination for uploading the XML   Format file to sap   " through ABAP Program ....
    1. Basically you simply have to convert the XML file into the proper IDoc format. There are many ways to achieve this. One solution would be to convert it externally to SAP, e.g. via VB Script or with an XSLT transformation. Or you use the built in SAP functions for importing an IDoc from an XML stream.
    2. Uploading a file is either done via GUI_UPLOAD or via the usual way of reading a file from the application server (Open dataset. Read dataset) But what do you mean by "send to external system"? Do you want to convert an IDoc into XML? Then you simply define an XML port with WE21 to send the IDoc out.
    Here is an example of code that loads an XML from file and posts it as an IDoc. Please keep in mind that the XML has to be in its canonical format as described in the interface repository: ifr.sap.com (choose the template of the desired IDoc from there as an example).
    data: data_tab type table of char1024.
    data: XML_STREAM type string.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'D:test.xml'
    *   FILETYPE                      = 'ASC'
    *   HAS_FIELD_SEPARATOR           = ' '
    *   HEADER_LENGTH                 = 0
    *   READ_BY_LINE                  = 'X'
    *   DAT_MODE                      = ' '
    *   CODEPAGE                      = ' '
    *   IGNORE_CERR                   = ABAP_TRUE
    *   REPLACEMENT                   = '#'
    *   CHECK_BOM                     = ' '
    * IMPORTING
    *   FILELENGTH                    =
    *   HEADER                        =
      TABLES
        DATA_TAB                      = DATA_TAB
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'CONVERT_TABLE_TO_STRING'
      EXPORTING
        I_TABLINE_LENGTH       = '1024'
      IMPORTING
        E_STRING               = XML_STREAM
      TABLES
        IT_TABLE               = DATA_TAB[].
    write: / xml_stream color col_total.
    data: CONTENT_LENGTH type string.
    data: CONTENT_TYPE type string.
    data: REMOTE_ADDR type string.
    CALL FUNCTION 'IDOC_INBOUND_XML_VIA_HTTP'
      EXPORTING
        XML_STREAM                      = XML_STREAM
        CONTENT_LENGTH                  = content_type
        CONTENT_TYPE                    = content_type
        REMOTE_ADDR                     = remote_addr
    EXCEPTIONS
       NO_IDOCS_SAVED                  = 1
       TAG_ERROR                       = 2
       NO_DATA_RECEIVED                = 3
       NO_IDOCS_RECEIVED               = 4
       SEGMENT_ERROR                   = 5
       IDOC_WAS_SEND_SECOND_TIME       = 6
       OTHERS                          = 7
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    write: / sy-subrc color COL_NEGATIVE.
    ENDIF.
    reward  points if it is usefull.......
    Girish

  • How to upload  a excel file in webdynpro? Please help!

    Hi Experts,
        I have a requirement where I need to upload a  excel file in my webdynpro for ABAP report.
        I have used the fileupload UI element in my view and a upload button.
        However when I test the application I found that it is getting file data as some junk value like below:
        ###ࡱ#################>########################################################################################################################################################################################################################################
      Why is that so?
      Is there any limitation with fileuplaod reading excel file?
      Do i have to use any encoding option?
      What is the alternative option to read excel file in ABAP webdynpro?
    Thanks
    Gopal

    Hi,
    Check this.. Write this code in Upload button 's method
    ********** Reading data from flat file ****************
      DATA lo_el_context TYPE REF TO if_wd_context_element.
      DATA ls_context    TYPE wd_this->element_context.
      DATA lv_datasource type xstring.
    * get element via lead selection
      lo_el_context = wd_context->get_element(  ).
    * get single attribute
      lo_el_context->get_attribute(
        EXPORTING
          name =  `DATASOURCE`
        IMPORTING
          value = lv_datasource ).
       CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
        EXPORTING
    *   FROM_CODEPAGE       = '8500'
          IN_XSTRING          = LV_DATASOURCE
    *   OUT_LEN             = '1'
       IMPORTING
         OUT_STRING          = LV_STRING.
    SPLIT LV_STRING AT CL_ABAP_CHAR_UTILITIES=>NEWLINE INTO TABLE IT_STR.
      LOOP AT IT_STR INTO LV_STRING.
        SPLIT LV_STRING AT CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB INTO TABLE FIELDS.
        READ TABLE FIELDS INTO LV_FIELD INDEX 1.                 " Reading 1st field
        ls_header-STATU = LV_FIELD.
         clear LV_FIELD.
        READ TABLE FIELDS INTO LV_FIELD INDEX 2.                " Reading 2st field
         ls_header-LIFNR = LV_FIELD.
         clear LV_FIELD.
        READ TABLE FIELDS INTO LV_FIELD INDEX 3.
         ls_header-BSART = LV_FIELD.
         clear LV_FIELD.
        READ TABLE FIELDS INTO LV_FIELD INDEX 4.
         ls_header-EKORG = LV_FIELD.
         clear LV_FIELD.
        READ TABLE FIELDS INTO LV_FIELD INDEX 5.
         ls_header-EKGRP = LV_FIELD.
         clear LV_FIELD.
        READ TABLE FIELDS INTO LV_FIELD INDEX 6.
         ls_header-BUKRS = LV_FIELD.
         clear LV_FIELD.
         APPEND wa to it.
        append ls_header to lt_header.
        clear: ls_header,wa.
        endloop.
        lo_nd_header->BIND_TABLE( lt_header ).
    Thanks,
    Ramesh
    Edited by: Rameshkumar Raamasamy on Dec 20, 2010 11:16 AM

  • I have uploaded a pdf-file. Where is the command to convert it to docx?

    I have uploaded a pdf-file. to https://files.acrobat.com/?trackingid=KGLHY#folder/0662976a-3059-4bd3-8f49-87041736f7c2.
    It appears in the list of files.
    Where is the command to convert it to docx?

    Hi TRee2,
    When you logon to the Acrobat.com service on the top left corner click on 'Tools' an now on the top right side select 'Export from pdf'.
    Now select the files and click on 'Export'.

  • When I use FTPFire the .htaccess file uploads as hidden. How do I unhide it once it is uploaded?

    My .htaccess file shows live on my c drive... When I upload it to my web host, it loads as hidden...
    How can I unhide it once it is uploaded?

    That is the purpose of that file. On Linux a file that start with a dot is a hidden file and there is no need to see that file anyway because it is meant for controlling the server behavior. I assume that FireFTP has a setting to show hidden files that you need to enable if you do not see the file.

  • Where is the procedure for uploading my music files to Cloud?

    Where is the procedure for uploading my music files to Cloud?  I have a portable hard drive that has all my burned songs on it, and I'm trying upload and match those songs for the first time.....

    There is no "procedure." When you sign up for iTunes Match, iTunes does all the work for you. But you must have the external HDD connected for it to work.
    Also, keep in mind that iTunes Match is not a streaming service. To play your music on your computer you'll still need to have the external HDD connected, unless you decide to delete all the music from your iTunes library.

  • Where exactly are the media files kept now?

    It used to be simple, the media files were all in the Final Cut Events folders and if you trashed them they were gone.
    However, now that I have updated my 10.0.9 projects and events to 10.1,  I apparently have identical  media files in the "Old Final Cut Projects and Events" folder together with the new Library.
    I believe that some of these are symbolic, but which ones?
    If I delete something from the "Old Final Cut Projects and Events" folder,  will it still be present in the new Library  .  .  .  .  .  and vice versa?
    What if I delete both lots?
    Where exactly are my old media files?

    It's a tricky bit of engineering. If you updated the projects and events and the media was already in the events then the media will appear to be in both plays simultaneously, but only taking the drive space of one. If you delete the old events, the drive space will not go down because the media is still on the hard drive.
    Here's the thing, when we say a media file is in a folder, it's not physically in the folder. It's somewhere on your hard drive, wherever there was space when the file was written to the drive. The file structure says they're in a folder or move from folder to folder, but in reality they never move. Only the directory structure changes. That's what's happening here. Both folders, old events, new libraries are pointing to same space on your physical hard drive where the media files are living. Both are holding the media files in their directory. If you delete them both the media will disappear from the directories and that drive space will be freed and eventually get physically overwritten as more stuff is written on the drive.

  • Unable to upload to ftp host. errors out on uploading .htaccess file

    Switching to uploading a site from using Fetch to using the muse Upload to Secure FTP tool. Secure FTP parameters are OK. I gain access to the host FTP server fine.
    Muse errors out with the message Error uploading file .htaccess file. Error 553. Try again.
    Yahoo is the host. They are only accepting Secure FTP. All my settings are same as Dreamweaver suggests which is good.
    I have been successful with Fetch for a long time.
    "Try again later" is unsuccessful. Assist please, thanks

    Please see this thread <Re: Failed FTP upload: 553 error>.

  • Url idle with ccm 5.1: where upload the image file?

    Hi,
    I'm trying to work the url idle feature in ccm 5.1.
    The phone gets the message error http (404).
    I have the default configuration on the enterprise parameters of the callmanager and I have upload the xml image file in the tftp directory and in a ccmcip directory, but it doesn't work.
    Where must I upload the image file or why it dosn't work?

    I am having the same problem...I don't suppose you would mind being a bit more specific!!!????

  • Where exactly the KM folders resides on the file system .??

    Please also answer the given questions???
    Does the userhome folder in the KM also exists on the file system on the portal server. If yes, whats the navigation for the same.
    Where does the favorites specific to a user in the userhome resides on the file system?
    Where exactly the KM folder resides on the file system?

    The only part of the repository you will find in the filesystem (as a default) would be the /etc repository.  Its specific location depends on your implementation - it could be a local directory or on a share somewhere.
    The only other parts of the KM subsystem you would find in the filesystem would be any custom repositories you had defined as FSDB or similar.  Otherwise as reported everything else is stored in the DB.
    Haydn

  • Accesing url idle ccm 5.1: where upload the image file?

    Hi,
    I'm trying to work the url idle feature in ccm 5.1.
    The phone gets the message error http (404).
    I have the default configuration on the enterprise parameters of the callmanager and I have upload the xml image file in the tftp directory and in a ccmcip directory, but it doesn't work.
    Where must I upload the image file or why it dosn't work?

    You can try this link for Idle URL timout
    http://cisco.com/en/US/products/sw/voicesw/ps556/products_tech_note09186a00801c0764.shtml

  • Hi, can someone tell me what exactly is QuickTimeMPEG2.dmg? its an installer file i need for downloading the QuickTime Mpeg-2 Playback Component. Where exactly can I find this as well?

    hi, can someone tell me what exactly is QuickTimeMpeg2.dmg? Its some kind of installer file for downloading QuickTime Mpeg-2 Playbaack Component but I don't know where exactly to find it or how to get it on my mac?

    Hello,
    http://forums.macrumors.com/showthread.php?t=1332324
    If you want it on your Mac, not sure it works or not in your OS version.
    Then double click on the DMG, that'll mount the disk image, in that you'l likely see an installer .pkg to double click on to install.

  • SharedObject.flush - where exactly does it write the file

    SharedObject.flush method - where exactly does it write the
    file to and how
    this file is called?

    If it is not possible to command vie ActionScript where to
    store a shared
    object, is it possible to retreive a path to this object
    using ActionScript?
    "aa" <[email protected]> wrote in message
    news:eri01f$l5q$[email protected]..
    > SharedObject.flush method - where exactly does it write
    the file to and
    how
    > this file is called?
    >
    >
    >

  • I am trying to upload my PDF file from my IBooks but its only giving me the option to upload from my pictures/gallery. How do I get it to where I can upload PDF files from my iBook or how do I transfer my PDF files to my pics?

    I am trying to upload my PDF file from my iBooks but its only giving me the option to upload from my pictures/gallery. How do I get it so I can upload from my iBooks or move my PDF files to my gallery so I can upload it?

    I'm having the same issue. I saved a PDF from an email into iBooks. I'm on apple applying for a job but the only option the upload button has is from the Photos file. How ironic right? Luckily I'm in Logistics and not an IT specialist applying for this job! Lol. Does anyone know the fix?

  • Upload Attachements(Doc File) into SAPand Read The same in BADI

    Hi All,
    I am Nagesh, and presently working on a BADI(NOTIF_EVENT_POST) for sending emails when a new Notification is created through QM01 Transaction Code, and its working very very fine. But now an additional requirement has come up, where i need to upload an Standard Format Word Document into SAP and then attach this file to the Mail to which the converted PDF Smartform file has been attached and then send both files in single mail to concerned Vendor. So I tried to upload the .Doc file into SAP by using OAER TCode with following Parameters
    Class name              :            PICTURES
    Class type               :            OT
    Object key               :            CAPA.
    I exactly dont know whether this is the right format or not, please help me, if this is possible or not.
    And also I uploaded the same doc file from application server to Presentation Server using Tcode CG3Z, to a ditectory which exists in SAP (Checked in AL11 Tcode). So the nhow to read that complete file to send the same as attachemnts without making any changes .
    Regards,
    Nagesh Kumar.
    Edited by: Nagesh Kumar on Mar 12, 2010 9:39 AM
    Edited by: Nagesh Kumar on Mar 12, 2010 11:32 AM

    Hi All,
    I am Nagesh, and presently working on a BADI(NOTIF_EVENT_POST) for sending emails when a new Notification is created through QM01 Transaction Code, and its working very very fine. But now an additional requirement has come up, where i need to upload an Standard Format Word Document into SAP and then attach this file to the Mail to which the converted PDF Smartform file has been attached and then send both files in single mail to concerned Vendor. So I tried to upload the .Doc file into SAP by using OAER TCode with following Parameters
    Class name              :            PICTURES
    Class type               :            OT
    Object key               :            CAPA.
    I exactly dont know whether this is the right format or not, please help me, if this is possible or not.
    And also I uploaded the same doc file from application server to Presentation Server using Tcode CG3Z, to a ditectory which exists in SAP (Checked in AL11 Tcode). So the nhow to read that complete file to send the same as attachemnts without making any changes .
    Regards,
    Nagesh Kumar.
    Edited by: Nagesh Kumar on Mar 12, 2010 9:39 AM
    Edited by: Nagesh Kumar on Mar 12, 2010 11:32 AM

Maybe you are looking for

  • 1st time an SQL expression is placed on report a DB SELECT executes

    The same problem can be created using the normal Crystal Reports XI Release 2 developer environment and/or code (not only a code issue). Symptom: We dynamically auto generate SQL Expressions, Tables, Joins, Formula's and anything through C# and place

  • Error while running job which is in DBA_JOBS

    All, My environment is Oracle - 10.2.0.4.0 Linux - 2.6 2 Node RAC environment I have a job which is listed in DBA_JOBS. It is not auto executing. When I run manually, I am getting error. Please see the error details below. SQL> exec dbms_job.run(1);

  • HT4527 How to Deactivate PC Computers that no longer exists

    itunes shows I have 3 PCs in use with all my purchases and downloads.  The fact is, I only have one computer.  The first was an Alienware Laptop that suddenly died without any warning 4 or 5 years ago.  Another was a new desktop I had installed iTune

  • How to have ItemId in the URL in JSF based application

    I have a JSF based application and I am using faces-config.xml to navigate and I am using /redirect to navigate form case to case. The application lists products and upon selecting one, a product detail is displayed. I would like to have productId as

  • IDOC message type for GL entries

    I have a requirement to transfer GL Entries from ADP to SAP . Please suggest what are the message types to be used both in Outbound and Inbound.