[SOLVED]HELP! Can't change Apache default documentRoot!

hi, everyone, I encountered a weired apache problem.
Environment:
     Archlinux 2.6.27
     Apache 2.2.9-4
Problem:
     I changed apache default DocumentRoot (/srv/http) to another place (/home/qianli/WWW/http), but I got Error 403 unless I used default. My httpd.conf below:
DocumentRoot "/home/qianli/WWW/http"
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/home/qianli/WWW/http">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<IfModule dir_module>
DirectoryIndex index.html index.htm index.php
</IfModule>
My files permissions:
qianli ~/WWW/http $ ll
total 32
drwxr-xr-x 6 qianli qianli 4096 2008-10-22 10:04 .
drwxr-xr-x 3 qianli qianli 80 2008-10-22 11:03 ..
drwxr-xr-x 10 qianli qianli 4096 2008-10-10 00:17 acquia
drwxr-xr-x 2 qianli qianli 1 2008-10-20 17:20 cgi-bin
-rw-r--r-- 1 qianli qianli 101 2008-10-22 10:04 index.html
drwxr-xr-x 2 qianli qianli 16 2008-10-21 17:26 logs
-rwxrwxrwx 1 qianli qianli 22 2008-10-21 14:19 phpinfo.php
lrwxrwxrwx 1 qianli qianli 20 2008-10-21 12:46 phpmyadmin -> /srv/http/phpMyAdmin
drwxr-xr-x 2 qianli qianli 24 2008-10-21 14:54 test
-rw-r--r-- 1 qianli qianli 113 2008-10-21 14:22 test.html
-rw-r--r-- 1 qianli qianli 8 2008-10-21 14:42 test.txt
Log:
[Wed Oct 22 10:43:32 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied, referer: http://localhost/
[Wed Oct 22 10:43:33 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied, referer: http://localhost/
[Wed Oct 22 10:51:15 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied, referer: http://localhost/
I tried to change permission to 777, but I still got 403!
Last edited by qianli (2008-10-24 04:29:38)

Change the following
DocumentRoot "/home/qianli/WWW/http" to DocumentRoot "/home/qianli/public_html"
<Directory "/home/qianli/WWW/http"> to <Directory "/home/qianli/public_html">
ScriptAlias /cgi-bin/ "/home/qianli/WWW/http/cgi-bin/" to ScriptAlias /cgi-bin/ "/home/qianli/public_html/cgi-bin/"
<Directory "/home/qianli/WWW/http/cgi-bin"> to <Directory "/home/qianli/public_html/cgi-bin">
Create the folder public_html and tell me what errors do you get

Similar Messages

  • :-)  How can we change the default file path for Bank file ( dmee ) ?

    Hi All,
    We encounter a problem.
    Electronic bank file ( created after a F110 run ) are created, in an automatic way to the DIR_TEMP directory. ( On the SAP server )
    How can we change the default file path for Bank files ( dmee ) ?
    We'd like to specify another path.
    Thx for your help.
    Erwan

    Hello,
    Make sure that you have created the directory in transaction code AL11 with the help of basis consultants.
    You can link your PC directory to the application server.
    You can maintain the path whether your file needs to get saved in OBPM4 against your DMEE structure example GB_BACS etc.
    If you do not maintain any path in OBPM4, then the file gets saved to temporary directory. If you give the directory path name in OBPM4, then the file gets saved to that directory with numbers 0001, 0002, 0003 etc till it reaches 9999 and reset from the beginning.
    If you give the path as well as file name as ABCD, then the file gets generated to that directory folder with ABCD0001, ABCD0002, ABCD0003 etc. till it reaches ABCD9999 and reset from the beginning.
    Hope this solves your problem.
    Regards,
    Ravi

  • ICal in OS X Lion default on new entries is 'all day'.  How can I change that default?

    The OS X Lion default on new iCal entries is 'all day'.  How can I change that default?  It seems odd that the default would be 'all day' when most entries are for meetings lasting less than that. 

    Unfortunetely the only way is to uncheck the box each time you set up an entry. I trust enough feedback from users will convince Apple to change that in the future.
    http://www.apple.com/feedback/ical.html
    Yours will help that effort.

  • How can I change the default settings in the new pages?

    How can I change the default settings in the new pages?

    Create a new document and change the settings to what you want i.e. Times New Roman, 12 pt. and save as a template from the Edit menu. Then go to Pages Preferences (Cmd +,) and under general change the template to open to your saved template that you want as your default setting.
    Hope that helps.

  • How can I change the default templates to from A4 to Letter US?

    Hi,
    I live in Québec, the french part of Canada. Because I use French, iWork think I leave in France, so the default templates are in A4.
    How can I change the default templates to from A4 to Letter US? It seem's impossible. In Pages 06, each language folder had templates. But with Pages 08, it's different.
    Please help.

    Autre façon : Ouvre un nouveau document. Il va être en A4. Dans le menu Fichier--->Format d'impression. Une fenêtre apparaît. Dans la ligne... Taille du papier, tu choisis... Lettre US; tu fais OK. Ensuite tu sauves ce document comme modèle. Menu Fichier----> Enregistrer comme modèle et tu lui donnes le nom, par exemple... USLettre.
    Ensuite, va dans le menu Pages, va dans préférences et dans la fenêtre qui s'ouvre - Préférences générales - tu choisis : Utiliser le modèle... et tu cliques sur Choisir... à droite un peu en bas de Utiliser le.... et là, dans la fenêtre qui va apparaître, tu trouves le modèle que tu viens de faire...USLettre.
    Voilà. Chaque fois que tu vas ouvrir Pages, ce sera USLettre qui sera là par défaut.
    J'espère que ça va te satisfaire.
    Évidemment l'idéal serait de pouvoir changer la template Vierge par une template Vierge US... mais j'ai pas encore réussi.
    Message was edited by: BenwaR

  • How can we change the default port 50000 of SAP WAS?

    Hi,
    1. How can we change the default port 50000 of SAP WAS?. Can we assign 8080?
    2. Can we assign default context ("/") for the application we have developed?
    Regards,
    Sudheesh

    Hi Sudheesh,
    just refer this help..
    http://help.sap.com/saphelp_nw04/helpdata/en/5b/82d3c3ee9691418e6b0281f933a37d/frameset.htm
    U have to restart the sever after changing the port.
    One more main thing here , no other services must not be using the port.
    It will cause port binding exception.
                  Regards
                  Kishor Gopinathan

  • How can I change the default preloader?

    I noticed that a preloader appear on one of my projects.
    Then, I checked Adobe Captivate folder today, and accidently
    found out several other preloaders do exist!!!
    How can I change my default preloader to another one?
    There is a way to do it, Right? Please say yea.
    I will share the path tomorrow when I get back to work.

    Look in Preferences > Project > Start and End > Preloader.
    Browse to the preloader file that you want to use.  You can also specify the percentage of download buffer at which point the playback will start (while the rest of the file downloads in the background).
    Please note that preloaders only work when the content is served from a web server over HTTP.  The do not help you at all if your content is hosted on a LAN server over TCP/IP.

  • How can i change the default text "Query by Example"

    Studio Edition Version 11.1.1.3.0
    how can i change the default text *"Query by Example"* in a Panel Collection
    Thx

    Hi thieto,
    The label you are looking for is af_panelCollection.LABEL_MENUITEM_QBE*
    I'm currently writing a blogpost on this issue. In short, you will have to create a skin resource bundle.
    In the skin definition, refer to this bundle class.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <skins xmlns="http://myfaces.apache.org/trinidad/skin">
      <skin>
        <id>mySkin.desktop</id>
        <family>MySkin</family>
        <extends>blafplus-rich.desktop</extends>
        <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
        <style-sheet-name>skins/MySkin.css</style-sheet-name>
        <bundle-name>com.blogspot.lucbors.view.bundles.MySkinBundle </bundle-name>
      </skin>
    </skins>In this class, adjust the label text to your needs.
    package com.blogspot.lucbors.view.bundles;
    import java.util.ListResourceBundle;
    public class MySkinBundle extends ListResourceBundle {
      public MySkinBundle() {
        super();
    @Override
      public Object[][] getContents() {
        return _CONTENTS;
    static private final Object[][] _CONTENTS = {
         {"af_panelCollection.LABEL_MENUITEM_QBE","the text that you want"}
    }More in the blogpost
    Good luck
    Luc Bors
    Edited by: lucbors on Jul 26, 2010 11:39 AM (blogpost finished - URL added)

  • How can I change the default URL in hyperlink inspector

    How can I change the default URL for link to external page in the Hyperlink Inspector?

    You can't change the default url in the inspector.. but an easier way to do it rather than editing the box everytime you need to build a link is to copy the url you want to link to and then highlight the text or image that users will click on and then click enable hyperlink.. when you do that whatever the last url you copied using "command" "C" will automatically be entered into that box and replace "livepage.apple.com"
    It saves alot of time if you are doing alot of links.
    Hope This Helps!

  • How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks

    How can I change the default apple ID for app store. I bought the macbook from my school when I left and I'm the ID in place of mine is the computer departments one. How can i change it to mine?? Thanks

    http://support.apple.com/kb/ht5621

  • Hi,how can i change the default settings on my adobe readerX1 such that it will display all my pdf files according to their individual cover pages (as cover picture thumbnails)before i click them to open and read........i really enjoyed this feature as a

    hi,how can i change the default settings on my adobe readerX1 such that it will display all my pdf files according to their individual cover pages (as cover picture thumbnails)before i click them to open and read........i really enjoyed this feature as a default settings upon installation in previous editions of adobe reader .i use a windows 8 pc now.thank

    For sideloaded content the nook pulls the metadata from ePub file itself.  I would suggest looking at a program like Sigil or Calibre that will let you edit the metadata in the book to make it appear like you want.
    For the PDF vs ePub - No, that's the way PDFs work (think of them as graphics, not text), wheres ePubs are Web Pages - so  no you can't them to behave exactly alike without converting the files.

  • How can I change the default  driver to OracleXADataSource in JDeveloper

    Hello,
    How can I change the default oracle driver: oracle.jdbc.OracleDriver to oracle.jdbc.xa.client.OracleXADataSource in JDeveloper Studio Edition Version 11.1.1.0.2, Build JDEVADF_MAIN.BOXER_GENERIC_090328.0229.5205.
    If I modify the file connections.xml from jdeveloper\system\system11.1.1.0.31.52.05\o.jdevimpl.rescat2\connections in the sense that I change the driver class, then in JDeveloper when I test my connection I have this problem: Test failed: oracle.jdbc.xa.client.OracleXADataSource cannot be cast to java.sql.Driver
    Why do I need this XA version of the oracle driver? Well I tried, from a book to reproduce the model of an application: entities, stateless and stateful session beans, mdb, web services and a client to test one part of the model.
    And because of the JMS server I need an XA driver.
    I deployed to the integrated wls 10.3 and when I test my client, if I use the default driver for the connection the an error message appears tell me either to emulate two-phase commit or to use XA driver.
    My application works very well, if I configured in the console of the integrated wls 10.3 a datasource with the same name as my ide/application connection that has for the Driver Class Name: oracle.jdbc.xa.client.OracleXADataSource in the Connection Pool tab.
    Thank you.

    Open DIsk Utility and in the toolbar select Disk Image. The file selector will open and you'll have to do three things: 1) just as with any file, name it and point the file selector to where you want it to be saved, 2) near the bottom you'll see name - type iWork 2013 and 3) below that select the image size. Click on size, choose custom and type 1500 MB then click on the Create button.
    Some time will pass and then you'll see an external disk pop up on your desktop and/or the Finder window sidebar. Drag the three programs into it and eject it like any other external disk. Now delete the programs from your applications window.
    Where ever it was you pointed the file selector to you'll see the file you created. Double click on it and the disk image will mount again.

  • When I opt to "download this as a file" from my email account, Firefox defaults to notepad to open the file. How can I change the default to MS Word?

    Question
    When I opt to "download this as a file" from my email account, Firefox defaults to notepad to open the file. How can I change the default to MS Word?

    Is FF downloading the file as a .txt file? If so, go to "Folder Options" in the windows control panel. Click on the "File Types" tab. Scroll down until you reach the TXT file extension. Look to see what that extension opens with (lower part of panel). It probably shows notepad. Click on the <Change> button. Scroll down until you find "Microsoft Word." Select it and click the <OK> button. That should show the TXT extension is now associated with Microsoft Word. Click the <Close> button at the bottom of the panel.
    If FF is downloading the file as any other type, use the same process as above except look for the corresponding extension instead. If the extension is not listed click on the <New> button and create an association using the extension in the file name and then associate it with MS Word.
    davewdan

  • Mail -- How can I change the default email account from which my messages go, without having to change it each time I draft a message?  It currently assumes an email account that I rarely use. Thanks.

    How can I change the default email account from which my messages go, without having to change it each time I draft a message?  It currently assumes an email account that I rarely use. Thanks.

    sorry, but I can't find the mail preference in the latest Yosemite OS. Do you know where I can find it?
    Thank you
    Don

  • How can I change the default Google search engine in Firefox 8 from google.fr to google.co.uk? Yes, I live in France with a French ISP, but English is my mother tongue and I want UK based responses.

    How can I change the default Google search engine in Firefox 8 from google.fr to google.co.uk? Yes, I live in France with a French ISP, but English is my mother tongue and I want UK based responses.
    I'm using XP Pro.

    You can find search engines on the Mycroft Project website.
    * http://mycroft.mozdev.org/
    * http://mycroft.mozdev.org/google-search-plugins.html

Maybe you are looking for