Configuring apache and changing default directory

I'm a new-bee at this..
I started Web sharing but I would like to change location..
And Configuring apache.. :o)
also would like to learn more about apache for beginners LOL :o)
Thank you.. :o)

I edit httpd.conf as you noted.
#DocumentRoot "/Users/imac_willie/Sites"
DocumentRoot "/Volumes/iMac-2/MyWebpages"
#<Directory "/Users/imac_willie/Sites">
<Directory "/Volumes/iMac-2/MyWebpages">
Not working..
In the System Preferences -> Sharing -> Web Sharing
I click on http://10.0.1.2/~imac_willie/ it still points to "/Users/imac_willie/Sites"
The DocumentRoot is the default web page. It does not control the ~/imac_willie location. I'm not sure what you change for that, so I would suggest going to Google for that information.
I did see /private/etc/apache2/extra/httpd-userdir.conf referenced in /etc/apache2/httpd.conf, however, looking in that file only seemed to specify 'Sites' as in ~username/Sites.
That file also mentions /private/etc/apache2/users/*.conf, as if maybe you can have some kind of per username.conf file that somehow does something, but I do not know what should be in that file, as my system does not have any examples. Again, maybe Google would be helpful.
When I click on http://10.0.1.2/ "Error Forbidden You don't have permission to access / on this server."
I'm guessing that the permissions on /Volumes/iMac-2/MyWebpages did not allow user _www access to the files (_www is the account that apache runs under).
What are the permissions for /Volumes/iMac-2 and /Volumes/iMac-2/MyWebpages and /Volumes/iMac-2/MyWebpages/index.html ???
Then again, what do you have against /Library/WebServer/Documents?
Nothing in this directory but "index.html.en"
Well you are welcome to put your own stuff there if you like.
NOTE: I'm not an Apache expert, and I do not play one on TV. I have messed with Apache just enough to have a group web site on my Mac at work (in /Library/WebServer/Documents), but not much beyond that.

Similar Messages

  • How to configure apache and weblogic in windows 2000

    i am novice,
    i want to configure apache and weblogic in windows 2000
    weblogic version is 6.1
    apache version is 2.0
    how to do?

    George,
    I would take the following 'first steps'
    1)Install Apache20 on your Windows machine following the Apache online documentation
    http://httpd.apache.org/docs-2.0/misc/tutorials.html
    2)Make sure you can 'serve up' static HTML content from your Apache Server
    3)Install Weblogic Server per our online documentation
    http://edocs.bea.com/wls/docs61/install/index.html
    4)Also, make sure you can 'serve up' both static and dynamic (e.g., JSP) content
    directly from WLS server
    5)Once you have both of the above 'sanity' checks attempt to configure a simple
    proxy by ppath or mime type via our online documentation
    http://edocs.bea.com/wls/docs61/adminguide/apache.html#103803
    Chuck Nelson
    DRE
    BEA Technical Support

  • TS1702 I brought iPad for my nephew logged in with my id and download iWork's which was free. Now as it was against my id I deleted the app and changed default I'd as his, now I try to install iWork's it is asking for payment though iWork's is free on thi

    I brought iPad for my nephew logged in with my id and download iWork's which was free. Now as it was against my id I deleted the app and changed default I'd as his, now I try to install iWork's it is asking for payment though iWork's is free on this ipad.

    That's because the free apps are already registered to your Apple ID. You can't use them with another Apple ID.

  • Configuration Manager and Change assistant

    Anyone has used the configuration manager and change assistant and had any success copying configuration from one system to another? Thanks

    I have not done this yet, but could you change it to "xyzzy" and change it back again straight away?

  • Changing default directory for iTunes Library.itl and iTunes Music Library.

    I need to change the default directory for the files iTunes Library.itl and iTunes Music Library.xml permanently.
    It must be relocated from the My Documents directory due to VPN reasons.
    Has anybody an idea if this is possible? I could not find a corresponding registry entry.
    Notebook Windows XP Pro

    Using TweakUI to Move or Create Your Library/My Music Location
    Use TweakUI (See: ’Disk is locked’ or ‘iTunes folder cannot be found’ when installing or opening iTunes ) to create a 'My Music' folder in a spot where you desire. iTunes should then find this location and deposit its Library files there, and the 'iTunes' folder and sub-folders as well (if you direct it to).
    First, see this Article for some background information: What are the iTunes Library files?
    If you cannot see the ‘My Music’ folder within the TweakUI drop-down selection, proceed on to the following:
    1 On the start menu go to ‘Run’
    2 Type in RegEdit
    3 Navigate in RegEdit to HKEYCURRENTUSER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
    4 Delete any entry for ‘My Music’
    5 Navigate up the tree to HKEYCURRENTUSER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
    6 Make sure there is an entry for ‘My Music’ and is pointing to C:\Documents and Settings\[username]\My Documents\My Music (you can edit the value by double clicking it)
    7 Close RegEdit
    8 Reboot
    iTunes &/or TweakUI should now be able to find the folder.

  • How to change default directory of exe file

    I have created a VI that reads a template and writes on the template and saves it to a new file. When i created to an exe file, I would like for this exe to be able to be used on any computer. As such, the directory where i will open my template will change on different computers. Hence I am having this problem of how to change my VI such that it will choose this template in a new computer and set it as its default directory.
    I understand that in my own computer, I can simple "set current values as default" so that my VI will always open this file from a particular path. But what i need help with is when i put it on another computer where the particular path would definitely be different. I tried using the config file.vi but I could not understand how it is used.
    Please assist me in this. Thanks

    Hi Aaron,
    Micorsoft suggest to use folders like UserAppData to store files for your own programs.
    Put your template in there and use GetSystemDir function to get the UserAppData path...
    Or you put the template in the program folder or one of it's subfolder (not recommended by MS) and use a relative path to load it...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How I can set up CLASSPATH and JAVA_HOME and change default JAVA_HOME

    Hi all!
    I am new in Solaris world.
    I have installed jdk1.3.1 for Solaris.
    But default java version is 1.2.1.
    How can I set up CLASSPATH and JAVA_HOME.
    How I can change default setting.
    I need to know a name of configuration file and where can I find it?
    default java

    See code sample 3 at http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
    See also, the selection components row in the table under http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
    It says
    One way to preselect items is to call setSelectedValue(Object[]) or setSelectedValue(Object) from the prerender() method. You pass in the return values of the items that you want preselected. Be sure to verify that getSelected() returns null before setting the default options, or you will overwrite the user's selections on a post-back.

  • JFileChooser - change default directory

    Hi all, I've tried reading the tuts for jfilechooser but still am quite lost as how to change the default directory. I'm trying to change the directory to where the .java file is located. Thanks in advance!

    JFileChooser Javadoc
    public JFileChooser(File currentDirectory)
        Constructs a JFileChooser using the given File as the path. Passing in a null file causes the file chooser to point to the user's default directory. This default depends on the operating system. It is typically the "My Documents" folder on Windows, and the user's home directory on Unix.
        Parameters:
            currentDirectory - a File object specifying the path to a file or directory

  • Change default directory for Creative files (such as Media Databa

    I'm using a Zen xtra with WinXP Pro on my company laptop. The Creative software puts a lot of files (7 MB!) in my user profile under Document and Settings. Unfortunately, this is making my profile larger than my company allows, since they back up the profile over the network.
    How can I change the default directory for these file? I can't find any .ini files that might declare the path, and I can't find anything in the Windows Registry that points to my profile.
    Help please?
    Thanks,
    Luke

    Thanks for the suggestion of deleting the JetFileBackup folder, Micromouse. I'll try it.
    Any other files look deletable? Without any way to move them, I may have to try deleting some and see what happens.
    I'm not even sure which Creative programs can be uninstalled (other than Nomad Explorer) and still be able to use MediaSource to play songs from my Zen Xtra (through a USB connection). Windows Add/Remove Programs says that I've used all of these programs today:
    Creative Jukebox Driver
    Creative MediaSource
    Creative MediaSource AudioSync Plugin
    Creative MediaSource NOMAD Jukebox 2/3/Zen Plugin
    Creative NOMAD Jukebox Zen Xtra
    But all I've done is open MediaSource and start a playlist from my Zen Xtra. Anybody know which of those can be uninstalled without affecting my use? (Maybe this deserves a separate topic.)
    Thanks,
    Luke

  • Configure Apache and Sun AS 8

    Hi all,
    Can someone help me configure Apache to work with sun application server 8?
    Thanks.

    All,
    I see that the app server can host multiple web sites by creating virtual servers...but the question is, how reliable is it and perfomance wise compared to the apache web server?
    Thanks.
    Virtual Servers
    A virtual server, also called a virtual host, is a virtual web server that serves content targeted for a specific URL. Multiple virtual servers may serve content using the same or different host names, port numbers, or IP addresses. The HTTP service can direct incoming web requests to different virtual servers based on the URL.
    When you first install Sun Java System Application Server, a default virtual server is created. (You can also assign a default virtual server to each new HTTP listener you create. For details, see the Sun Java System Application Server Administration Guide.)
    http://docs.sun.com/source/817-6087/dgwebapp.html

  • Configuring apache and weblogic 7.1

    have anyone tried connecting apache and weblogic 7.1. which service pack can be used for this purpose

    have anyone tried connecting apache and weblogic 7.1. which service pack can be used for this purpose

  • How to disable APP and change default program in registry

    Dear all,
    it is possible to disable all the app (that appears in the start screen) in Windows 8.1?
    Our users are a little bit confused and we prefer to use the old program (example Windows Photo Viewer and not Photos APP).
    Let me know if it is possible and how to do it.
    If yes, where we can edit the registry key to make the default program Windows Photo Viewer? And other programs? We would like to set Windows Photo Viewer as default app on all our computer in domain. It is possibile to edit this setting in registry?
    And not manual from GUI? 
    Our PC are in a domain.
    Thank you,

    Hi,
    According to your description, you want to open the file without using metro app.
    We don't need to disable all metro app.
    You can use the Deployment Image Servicing and Management (DISM) tool to change the default programs associated with a file name extension.
    1.Deploy your Windows image to a test computer.
    2 Log into Windows and use Control Panel to configure your default application associations.
    3.You can export the default application associations that you have configured to an XML file on a network share or USB drive. For example, at a command prompt type the following command:
    Dism /Online /Export-DefaultAppAssociations:\\Server\Share\AppAssoc.xml
    4.Use GP server to enable the following group policy to modify the default Associations on the client machine.
    Computer Configuration>Administrative Templates>Windows Components>File explorer>Set a default associations configuration file.
    Regarding how to export or Import Default Application Associations,please refer to the following article:
    http://technet.microsoft.com/en-us/library/hh825038.aspx
    Regards,
    Kelvin hsu
    TechNet Community Support

  • Changing default directory.

    Hello
    Whenever I try to launch a VI, the dialog box start with my document directory,
    but I prefer to change it.
    How can I do it.
    T.U in advanced
    P.S All my games with Tools/options/paths didn't helped.

    How do I change the default drive for downloads and installs to d:\program files or d\program files(x86) in Windows 8? I have installed a ssd boot drive and use it  as windows boot and upgrade drive. It's a 300gb drive with 280gb operating space and
    95gb free. I don't want programs automatically installing to this drive. I have to keep changing the drive letter during installs (and some installs don't even ask).

  • Nokia PC Suite 6.86.9.0 and change default path

    Hi,
    Does anybody know how to change the default paths for "File Manager", "Contacts" and "Messages"?
    When entering those parts of PC Suite it automatically tries to open C:\Program Files\Nokia\Nokia PC Suite 6 folder (installation folder) but in my case this path _must_ be changed in order for the application to work (We use Softgrid to virtualize the application and cannot use hardcoded paths).
    Any ideas?
    Thanks,
    E.O
    Message Edited by barsom on 23-Apr-2008 08:44 AM

    what about installing the app to a different folder that you need from the very start?
    also this path is mentioned in the following registry key
    HKEY_LOCAL_MACHINE\SOFTWARE\Nokia\PCSuite\ApplicationPath1
    but i'm not sure if its a good idea to mess with it

  • Changing default directory locations

    I have Vista RC1 installed on a boot partition of my PC, I have changed the default location of "Documents" to my F: drive. Now I want to be able to change the defult location of "Public" folders, so that the dat ais stored on my G: drive.
    I have tried to do this , but when i look at the Properties of Public\Music for example, it will not let me change the location value.
    Does anyone know how i can get around this?
    Adrian

    How do I change the default drive for downloads and installs to d:\program files or d\program files(x86) in Windows 8? I have installed a ssd boot drive and use it  as windows boot and upgrade drive. It's a 300gb drive with 280gb operating space and
    95gb free. I don't want programs automatically installing to this drive. I have to keep changing the drive letter during installs (and some installs don't even ask).

Maybe you are looking for

  • Connecting Apple TV to new computer

    Getting new computer; need to transfer Apple TV to new machine.  Is this hard to do?

  • How to use loadPCMFromByteArray?

    has anyone been able to use the new Sound method loadPCMFromByteArray in Flash 11 successfully? I just end up hearing repeating ticking sound whenever I use it.  And also is there a way to set the depth (bits) in that method? it seems that this loadP

  • 8bit or 16bit in Camera Raw

    When I open a Raw image from Adobe Bridge into Camera Raw, I see the Workflow options....that blue line of writing at bottom...now show 16bit where my previous raw images was 8bit. Should I change it in Workflow Options to 16bit ? I also understand t

  • Do EntityManager queries actually query the database?

    When I write a method that returns object(s) based on an EntityManager query, return em.createQuery("select object(o) from Address as o").getResultList();Is that query actually looking at the database and getting the most recent data? For example, I

  • Setting for printing RGP

    Hi all, If I want to use MB1B for transferring material to vendor for servicing with movt type 541, and want to print that material document generated at the time of MB1B as RGP, what setting shall I need to maintain or its purely ABAP development? R