Xampp and forbidden 403 / browsing files lighttpd

Hello,
i have a problem with xampp, but is the same if i use apache or lighttpd.. xampp uses /opt/lampp/htdocs/ for the DocumentRoot, but all my work is in /home/kcr/working and i want leave that there.. if i change the DocumentRoot with
DocumentRoot="/home/kcr/working"
my browser give me the 403 error..what i want is the possibilty of browsing my own work directory...
what can i do?
thanks
Last edited by kcr (2008-10-23 19:22:13)

Users' home directories are assigned 700 (drwx------) permissions by default. Therefore, the web server, which is running under "http", is unable to access your ~. You can either run the web server under your user account, or alter your home folder's permissions to allow access to the web server (755 maybe).
Last edited by foutrelis (2008-10-22 18:12:46)

Similar Messages

  • Please help!!! I get this message: Forbidden (403) CSRF verification failed Request aborted when I try t0 connect an app to facebook. I did not have this problem before I downloaded Firefox 4. How do I get rid of this and fix it???

    How do I get rid of this message: Forbidden (403) CSRF verification failed. Request aborted?? I get this message when I try to connect an app to facebook. I did not have this problem before I downloaded Firefox 4. Do I need to remove your browser so my computer can work with the internet again?
    HOW DO I FIX THIS???? I AM VERY FRUSTRATED WITH THIS PROBLEM!!!!

    Click here and follow the instructions to change the iTunes Store country.
    (97125)

  • Want to open a new browser window and display the html file in locale disk.

    Hi,
    I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.
    Note:
    The class below fileopen.FileOpen.class i make it as a jar and put it in jre\ext folder at the client machine.
    ------------------------------------FileOpen.html(Tomcat)-----------------------------------------------------
    <html>
    <body >
    <applet code="OpenFile.class" archive="loadfile.jar" width="100" height="100">
    <param name="path" value="file://c:/open.html" />
    </applet>
    </body>
    </html>
    -------------OpenFile.java in server(Tomcat)--------------------------------------------
    public class OpenFile extends Applet implements ActionListener{
    String path = "";
    fileopen.FileOpen open = null;
    Button b = null;
    public void init(){
    path = getParameter("path");
    b = new Button("Open");
    b.addActionListener(this);
    add(b);
    public void actionPerformed(ActionEvent ae){
    try
    open = new fileopen.FileOpen(this,path);
    catch (Exception e){
    e.printStackTrace();
    -------------------------------------------FileOpen.java /Client JRE/ext----------------------------------------------------
    package fileopen;
    public class FileOpen
    AppletContext context = null;
    URL url = null;
    public FileOpen(Applet applet,String path)
    try
    if(null != applet){
    context = applet.getAppletContext();
    if (null != path)
    url = new URL(path);
    context.showDocument(url, "_blank");
    }catch(Exception ex)
    ex.printStackTrace();
    Please help to solve this issue very urgent.
    Thanks in advance.
    By,
    Saravanan.K.

    zzsara wrote:
    I want to open a new browser window and display the html file in local drive. ...Did you ever pause to consider how ridiculous that is?
    The best audience for applets is people off the internet. 'People off the internet' might be using a computer that has no (what was it?) 'open.html' in the root of the C: drive. In fact (shock horror) they may not even be running Windows, and would therefore probably have no 'C:' drive at all.
    If you do not intend to distribute this to people off the web, an application makes a lot more sense, but even then, you cannot rely on the document being there unless you 'put it there' (during installation, for instance).
    As the other poster intimated, applets can load documents off the local disk as long as they are trusted. Here is an example*, but note that it is not so rash as to presume any particular path or file, and instead leaves it to the user to choose the document to display.
    * The short code can be seen at SDNShare on the [Defensive Loading of Trusted Applets|http://sdnshare.sun.com/view.jsp?id=2315] post.
    On the other hand, a sandboxed applet can load any document coming from its own server via URL, or get showDocument(URL) to work. In that case, the JRE must recognize that the URL is from its own server, so the best way to form URLs for applet use is via the URL constructor
    new URL(getDocumentBase(), "path/to/open.html");That is how I form the URL in this [ sandboxed example of formatting source|http://pscode.org/fmt/sbx.html?url=/jh%2FHelpSetter.java&col=2&fnt=2&tab=2&ln=0]. Of course, in this case the applet loads the document, then parses the text to draw the formatted version, but the point is that an URL produced this way will work with showDocument(URL).
    I am pretty sure showDocument() in an applet off the internet will work with an URL pointing to a foreign (not its own) server, but it will not be able to load documents off the end user's local disks.
    I suggest a couple of things.
    - Try to express this problem in terms of what feature it is that you want to offer the end user. Your question jumps directly to a bad strategy for achieving ..who knows what? An example of a feature is "Shows the applet 'help' files on pressing F1".
    - A good way to indicate interest in a solution is to offer [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match that interest.
    Edit 1:
    ..and please figure out how to use the CODE tags.
    Edited by: AndrewThompson64 on Sep 12, 2008 11:14 PM

  • I tried down loading mozilla firefox to use as a web browser. It was downloaded 100% then when prompted to "run" the error message comes up with a red cross and the message'This file is corrupted" and won't let me proceed. What do I do now?

    I tried down loading mozilla firefox to use as a web browser. It was downloaded 100% then when prompted to "run" An error message comes up with a red cross and the message'This file is corrupted" and won't let me proceed. What do I do now?

    It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox.<br />
    You can try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See http://kb.mozillazine.org/Unable_to_save_or_download_files

  • I am getting this response when I am trying to open a file: Before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User License Agreement, then Quit and relaunch the browser."  What do I do?

    I am getting this response when I am trying to open a file: Before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User License Agreement, then Quit and relaunch the browser.”  What do I do?  I have opened this up in the past without a problem. 

    Back up all data.
    If Adobe Reader or Acrobat is installed, there should be a setting in its preferences such as Display PDF in Browser. I don't use those applications myself, so I can't be more precise. Deselect that setting, if it's selected. Otherwise do as follows.
    Triple-click anywhere in the line of text below on this page to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present. The same goes for a plugin called "iGetter," and perhaps others.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • Why do I receive this message? The Adobe Acrobat Reader that is running cannot be used to view PDF files in a browser. Please exit Adobe Acrobat Reader and your web browser and try again.

    The Adobe Acrobat Reader that is running cannot be used to view PDF files in a browser. Please exit Adobe Acrobat Reader and your web browser and try again.
    == This happened ==
    A few times a week
    == Early this year

    See these KB articles:
    https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox
    https://support.mozilla.com/en-US/kb/Opening+PDF+files+within+Firefox

  • Error message for PDF files "accept the End User License Agreement, then Quit and relaunch the browser"?

    Whenever I try to view a PDF file, I'm getting the error message "Before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User License Agreement, then Quit and relaunch the browser." I have the new Adobe Reader but am still getting this message.

    Even after launching Reader and accepting the EULA? Most strange.

  • Hey guys, so I have a DVD stuck in the CD drive on my mac. It reads it as being in there, but I cannot eject it and it is causing my a lot of issues with my mac. If i try to eject it, Finder acts up and I have issues saving projects or even browsing files

    hey guys, so I have a DVD stuck in the CD drive on my mac. It reads it as being in there, but I cannot eject it and it is causing my a lot of issues with my mac. If i try to eject it, Finder acts up and I have issues saving projects or even browsing files. I feel like it interferes with iPhoto as well because it says it is locked and I have no rights to view it. I wanted to see if anyone else had/s this issue and how you fixed it before lugging it into the apple store and being without a computer for a few weeks...

    A few other suggestions here as well:
    http://osxdaily.com/2009/08/28/eject-a-stuck-disk-from-your-mac-dvd-super-drive/

  • Trying to log into firefox but keep getting firefox is in offline mode and can't browse the web, I've unchecked the work offline in the file menu but still get error message...

    trying to log into firefox but keep getting firefox is in offline mode and can't browse the web, I've unchecked the work offline in the file menu but still get error message...

    The work offline option can be found from Firefox button -> Web developer or from the menubar toolbar -> Work offline (Or at least thats what happens in Windows).
    Have you any other reason for being offline; router off, firefox not dialing up or whatever. Or is security software or a firewall blocking firefox, or a network connection, or firefox setting etc set wrongly.
    See also
    *[[cannot connect after upgrading firefox]]
    *[[options window - advanced panel]]
    * [[error loading web sites]]

  • Excel sheet garbled when in portal and rendered in browser: ok on file-sys.

    Hi,
    We are facing a strange problem. Our WebLogic Portal App uses the JExcelAPI to generate an Excel spreadsheet when users click on a link to view the sheet. This sheet, when it opens in browser, appears garbled (special chars all over etc). However, the same file, when written to a local file instead of being written to the browser, works just fine!
    We set the following response headers:
    response.setContentType(contentType);
    response.setContentLength(length);
    response.setHeader("Pragma", "public");
    response.setHeader("Cache-Control", "max-age=0");
    response.setHeader("Content-Disposition", createAttachmentFilename(name));
    We also set the @page directive, like so:
    <%@ page contentType="application/vnd.excel" %>
    Given that the file-based excel sheet is ok, we are thinking this problem is due to the way portal handles the response etc...can anyone please help figure this out? We are using JPF-based portlets.
    I can paste more code if needed.
    Thanks in advance,
    Vik.

    where are you printing the bytes out? If you are doing it within a portlet, this is wrong , it must be standalone.(you cannot change the the mime type of an included portlet page). If you want to do it within the portlet you must open a new link to a page/servlet that will print out the bytes (outside the Portal framework)
    if you have a standalone page(or servlet) and you are still facing this problem , use firefox and livehttpheaders or equivalent and post the request and response headers. If everything looks as it should be, then use Fiddler or any other proxy and inspect the actual bytes you are getting and compare with the file on file system bytes .
    regards
    deepak

  • When I try and leave a review I get this message every time Forbidden (403)

    When I try and leave a review I always get this message.
    Forbidden (403)
    CSRF verification failed. Request aborted.
    More information is available with DEBUG=True.

    I always get this message when I forget to enable cookies on a Mozilla-site.

  • How can I browse my network and play my media files?

    I installed a free file explorer on my Android tablet. I can easily browse my network shares and access all my media content. I can play my movies, music, TVshows, anything by just browsing to the folder and selecting the file to play. It took me 5 minutes to figure this out on my Android tablet. I've been trying to do this for about 3 hours on my new ipad 3. I have yet to even find a file browser type app. Please don't tell me there is no way you can do this with an ipad. There is no way to play all your multi-media files with my very expensive ipad. I have so much media content I would love to access via my ipad, but I can't. Has Apple done this on purpose to lock down their devices so users can't do anything flexible? This is a HUGE difference between Android / iOS.
    Also, I'm able to visit music.google.com on my Android to play my music. Besides iTunes, does Apple have a way the user can access a simple website and play their music files? I'm finding all this very troublesome and such a limited factor with Ipad. Please help!
    If it ends up that Apple's brand new ipad can't easily browse a network and play media files then I'm going to return the two of them I bought. Just not a capable device if it can't do something so trivial.
    Thanks.

    I'm still trying to find a way to do this simple task. Everyone has home networks now and not able to simply browse to a folder where you keep your video/music files is quite a problem with such a brand new, ultimate tablet. I can even do this with my Android phone I have. I have terabytes worth of music and movies and if I can't watch them with this ipad tablet then I for sure will return this tablet and buy Android from now on. I'm now finding out how locked down Apple products really are and how limited UNLESS you BUY an app or only go through an Apple type portal. I wonder if people know that you can't play your media you have saved at home with an ipad.

  • I could only browse files on my android phone in adobe dc app in the gallery and image folders but not other folders

    I could only browse files on my android phone in adobe dc app in the gallery and image folders but I could only browse files on my android phone in adobe dc app in the gallery and image folders but not other folders

    Hi Buckyball1982,
    What version of Android phone are you using?
    Do you have a built-in file explorer or any third party File explorer installed on your phone?
    If no, then i would recommend you to install a File explorer on your phone and then you would be able to browse files from within the Acrobat DC app on your Android phone.
    Regards,
    Rahul

  • Forbidden/403 error when accessing OIF after install

    Hi,
    I just installed OID+OVD+OIF on a Windows 2003 server. The Oracle database is on a separate machine.
    For the OID+OVD+OIF installation, I installed WebLogic 10.3.3, then ran the OID+OVD+OIF installer, and was able to do that successfully.
    I then rebooted (seems to be necessary), then ran startNodemanager.cmd, and then accessed the WL Console, and saw "wls_ods1" and "wls_oif1" servers.
    I started both of those servers successfully.
    When I go to http://<host>:7005/odsm, I get the ODS console.
    But, when I go to http://<host>:7499/fed, I get a 403/Forbidden error.
    I've checked both the Adminserver log file and the wls_oif1 log file, and there are no errors there. Also, the access log file for the wls_oif1 server shows no accesses.
    Is there some additional step I need to do to enable the OIF server?
    Thanks,
    Jim

    You are using a wrong URL. Please use this:
    http://<fed_idp_host>:7499/fed/idp/initiatesso
    and / or
    http://<fed_sp_host>:7499/fed/sp/initiatesso
    If you want to administer the OIF, then you have to use the em enterprise manager. USing the em, you can start the OIF, and use the above url.
    http://<fed_idp_host>:7001/em
    http://<fed_sp_host>:7001/em
    The port 7001 is the default; if you hv selected anything else during the install, then use that port. The login is (default) weblogic and the password is whatever you gave during install.
    Hope this helps. Let us know.
    Edited by: AmbarishMitra on Apr 11, 2011 10:33 AM

  • Excel 2007 and Smartview 11.1 file open slow

    We are in the process of upgrading to HFM system 11.1 and smartview 11.1.1.3 and as part of this process we are starting to use Excel 2007. I am encountering an interesting problem when opening files in Excel 2007 using smartview 11.1 and I am wondering if any one else has seen this problem and found a solution.
    First I converted an excel 2003 file to excel 2007 and saved the file as an xlsx file type. Then I am able to open the file and it would take about 30 seconds to open the file. The file has about 15,000 formulas on for spreadsheets. If I click on each spreadsheet individually and use the "Refersh" button I can save the file in about 10 seconds and then close the file. When I open the file again it will open in 30 seconds. Now using the same file I click "Refresh All" and the file processes fine. I am able to save and close the file in about 10 seconds. However, when I try to open the file again it takes about 20 minutes to open, and then 20 minutes to close.
    This only happens with two or three files. I have another file that is 40 spreadsheets and about 3,000 formulas that is not affected when I click Refresh or Refresh All.
    Any help would be apperciated.
    Rich

    Hi
    On metalink i found some notes about this issure
    "Background
    SmartView communicates over HTTP using .NET. This just means that requests and responses are sent in a standard XML format that is tucked in the HTTP headers. The mechanism is the same as when your internet browser requests a file or submits a form (simplification). A standard Microsoft component that is part of Internet Explorer is used for this.
    There are three components (four if you include the network) in a SmartView refresh:
    -the client
    -the web server
    -the HFM application server
    It is easiest to troubleshoot when they are on separate machines. (Running SmartView on the server to see whether it works better is a useful test to see what effect the network is having, but doesn't show any other bottlenecks.) If you run Task Manager on these 3 machines showing the Performance tab, you will see initial activity on the client as Excel clears the cells and the request is converted into XML. Then you see the web server get busy as it receives and parses the request. Then the application server is busy as it send the data, then the web server is busy as it compiles the results into XML again, and finally the client parses the XML, pushes the data into cells and runs an Excel calculation. This last stage is the longest of all. Overall, it is typical to see the client doing 90-95% of the work, so client performance is a very important factor. Look out for Excel's memory usage increasing and RAM becoming in short supply. Often, user dissatisfaction with refresh times can be alleviated by giving them more RAM or a faster PC.
    The situation we are dealing with here, however, is when the chain of events described above is interrupted. In this case, you will see the client or the web server wait in vain for a response from the next machine in the chain. The case of invalid XML is similar, but the response is truncated so that the XML is not well-formed when it arrives. XML consists of matching pairs of tags and is not well-formed when a closing tag is missing. This can be caused by certain network settings such as packet size (see later). The end result in either case is the same: as Excel cleared the cells before sending the request, cells are left blank or with zeroes.
    Your job now is to work out why the particular component is failing.
    Client
    Check the HTTP time out in the registry:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]\
    "ReceiveTimeout"=dword:00dbba00
    "KeepAliveTimeout"=dword:002BF20
    "ServerInfoTimeout"=dword:002BF20
    The time-out limit is five minutes for versions 4.0 and 4.01 and is 60 minutes for versions 5.x and 6. Also, the time-out limit is 30 seconds for Windows Internet Explorer 7. To change the settings, add the above keys. The above values are hexadecimal, not decimal and correspond to 18000 milliseconds (3 minutes) and 240 minutes for the receive time-out. See
    - http://support.microsoft.com/kb/813827
    - http://support.microsoft.com/kb/181050
    Once you make those changes, my recommendation is that you reboot the client machine.
    Web server
    Look for errors in logs showing that the web app didn't respond/disconnected or timed out waiting for another application (i.e. the HFM application server). Eliminate load balancers etc. during testing in order to isolate the problem and to ensure that the user always goes to the same web server otherwise, logs can be hard to interpret. See also the IIS Tuning Guide for IIS settings. We cannot recommend particular settings, as each client must establish the optimal settings for their own environment after performance testing. If necessary, engage the services of a suitably qualified consultant.
    Application Server
    HFM application server performance is very dependent on whether the data is already in RAM or not. One symptom, where the first refresh fails but the second one succeeds, is probably a sign that the cache needed to be populated and once that had been done (by the first refresh) it went faster. HFM loads whole subcubes (Scenario, Year, Value and Entity) into cache, so asking for lots of accounts in the same subcube is fast, but asking for lots of entities will inevitably slow things down as it runs out of RAM and starts unloading subcubes to make room for more. The HFM event log (HsvEventLog.log) shows this happening, but don't forget that the messages you see are a normal consequence of the way HFM works and are not a problem unless you see a hugely elevated number of them during the period the refresh occurs. Another sign would be page file thrashing.
    If there are several servers in a cluster, use sticky sessions in HFM to make sure tests always go the same server, or hit one server directly rather than using the cluster.
    Solutions here involve giving more RAM to the server (probably not possible because of the 2 GB limit) and changing the worksheet design to restrict the number of subcubes accessed. A separate consolidation server, so that reads are not competing with intensive consolidations and calculations, would be a good thing.
    Network
    To find out if packets get fragmented, use
    ping -l size -f
    to send a big packet with the 'don't fragment' flag. E.g.
    Ping -l 1024 -f oracle.com
    If you see a reply like Reply from 141.146.8.66: bytes=1024 time=200ms TTL=245 then the size you specified is below the packet limit of the network. But if you use, for example, 2000 in place of 1024, you get Packet needs to be fragmented but DF set, then you know you have exceeded the limit. Combine this investigation with a Fiddler trace (https://www.fiddler2.com/fiddler2/) to see what size data messages are being sent and received.
    Troubleshooting Guidance
    If you seriously want to go into this in more detail, then it will take a considerable effort on your and your IT Department's part. My general advice would be:
    1. During this process, fix your environment so that it is predictable. Register a single HFM application server and connect to that. Use a single web server and don't go through Apache or any other redirector. Make sure we know which machine to go to for logs. This would be a temporary measure and it doesn't stop the other users using the full, load balanced system so long as it doesn't involve your server.
    2. As far as possible keep other users from using it during testing, unless you are specifically testing for performance under load. We want to see what activity is due to SmartView and not random other jobs.
    3. Use PerfMon on all three machines: client, web server and application server.
    4. Clear Logs before testing and note the times of each test so the logs can be correlated.
    5. Log CPU activity, memory usage, network throughput, page faults, thread count etc. I'm no expert on this so get advice from someone who is.
    6. In addition to the performance logs, from the IIS Server get:
    * HTTP.SYS Error Log - %windir%\System32\LogFiles\HTTPERR (Default location; configurable)
    * IIS Website Log - %windir%\System32\LogFiles\W3SVC# (Default location; configurable)
    * Event Log (both System and Application) in EVT and TXT (tab separated) formats
    7. From HFM Application server get:
    * HsvEventLog.log (in <HFM install>\Server working Folder)
    * Event Log (both System and Application) in EVT and TXT (tab separated) formats
    8. Be aware of all timeout settings in your environment (i.e. IIS & the network) and time your tests. This can show whether it is an ASP timeout, script timeout, client side timeout or whatever. Note that the Web Session Timeout setting for SmartView in HFM's Server and Web Configuration is a separate issue from IIS timeouts. Web Session Timeout controls the length of idle time before SmartView makes the user log in again. Default 20 mins.
    9. Run Fiddler traces to directly observe the XML and check for HTTP failures.
    Further resources
    - Tuning IIS 6.0 for HFM
    - SmartView Performance FAQ
    Both are available from Support.
    Author: Andrew Rowland
    Version: 11.x (Fri, 30 October 2009)"
    regards
    Alexander

Maybe you are looking for