OT: How to create virtual site

Hi there,
I need to setup a virtual host for PHP (which is installed as
http://localhost and works) on my Win
XP SP2 machine.
I need it to test some files of my web site which are root
relative.
Pictures that are site relative do not show because is points
to
http://localhost/images/my_image.jpg
in stead of
http://localhost/mysite/images/my_image.jpg
I trust you can help me doing this.
Regards,
Deon

Deon wrote:
> I need to setup a virtual host for PHP
A Google search for "setting up virtual host Apache Windows"
brings up
this excellent tutorial from Gary White:
http://www.apptools.com/phptools/virtualhost.php
There are also full instructions for how to do it on both
Windows and
Mac OS X in my book, "Foundation PHP for Dreamweaver 8".
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/

Similar Messages

  • What is Site Definition and is there any OOTB Site Definition ?How to Create Custom Site Defination?

    Hi All,
    What is Site Definition and is there any OOTB Site Definition ?
    How to Create Custom Site Defination?
    Thanks in advance!

    Hello,
    Please check following links for detailed explanation : 
    http://msdn.microsoft.com/en-us/library/aa978512(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/ee231583.aspx
    Regards, Shruti

  • How   to create  virtual cube  cube  in bi-7

    how   to create  virtual cube  cube  in bi-7

    Hi,
    VirtualProviders
    InfoProvider with transaction data that is not stored in the object itself, but which is read directly for analysis and reporting purposes. The relevant data can be from the BI system or from other SAP or non-SAP systems.
    VirtualProviders only allow read access to data.
    Various VirtualProviders are available. You use these in different scenarios.
    For more information, see:
    ●      VirtualProvider Based on the Data Transfer Process
    http://help.sap.com/saphelp_nw04s/helpdata/en/da/5909392a430303e10000000a114084/content.htm
    ●      VirtualProvider with BAPI
    http://help.sap.com/saphelp_nw04s/helpdata/en/26/39dc37bff7a66de10000009b38f889/content.htm
    ●      VirtualProvider with Function Modules
    http://help.sap.com/saphelp_nw04s/helpdata/en/62/d2e26b696b11d5b2f50050da4c74dc/content.htm
    ●      Using InfoObjects as VirtualProviderss
    http://help.sap.com/saphelp_nw04s/helpdata/en/45/13baccabbe5d78e10000000a11466f/content.htm
    Note that the system does not run existing exits or customer and application extensions (customer exit, BTE, BAdI) for direct access to the source system.
    http://help.sap.com/saphelp_nw04s/helpdata/en/23/c0234239f75733e10000000a155106/frameset.htm
    Thanks,
    JituK

  • How to create own site template in sharepoint 2013?

    Hi All,
    How to create a new site template  in SharePoint 2013? Any suggestion please.

    Create a site the way you want it, then go to Site Settings -> Save Site as Template.
    SharePoint - Nauplius Applications
    Microsoft SharePoint Server MVP
    MCITP: SharePoint Administrator 2010
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to create web site using STRUTS frame work

    Hi,
    I know how to create web pages using JSP & Servlets.But now i have to create Matrimonial web site using STRUTS frame work.Plz any one guide for me...
    Thank U....

    Struts is not to be confused with JSF.
    Start at their own homepage over there at apache.org.
    Good luck.

  • How to create a site template with subsites on SharePoint Online (2013, wave 15)

    I need to create a site template of a site that contains 4 subsites.
    I have tried saving the parent site as a "site template", but when i create a new site based on this template, I don't get any of the subsites created.
    Anyone knows why the subsites are not included in the template?
    Thank you!
    José

    That is by design.  Site templates are a template for a specific site within a site collection and never include sub-sites.  In an On-premises environment you could create a Portal Site Template, but this won't work in SharePoint Online.  To
    build something equivalent in SharePoint online you would either need to use a Sandbox solution or custom client side code.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • How to create iWEB site from OLD iWEB site? (Hosted)

    Okay, so the domain is corrupt.
    I have the site hosted and downloaded it via FTP, wondering two things, well one really, is there a way to rebuild the site since I have all the folders, assets, html pages, and images? If so, how?
    I suppose I can rebuild it page by page but want to change the theme and since I have the folders, was wondering if there was a way I can take the downloaded pages and somehow drag them to iWEB or some other MAC WEB program.
    Please advise, also, any other cool programs for iWEB or web design similar to Pulp Motion, Banner Zest, and how to make a site use flash without flash?
    Am also curious what else there is out there so the site doesn't look so iWeb and have the ability to change the fonts on say, WELCOME< ABOUT, HOME, and also use flash.
    Have used dream weaver, not to inspiring albeit the standard.
    Thanks

    If you decide to rebuild with iWeb Chapter 2.3 of this iWeb FAQ site has tips on using some of the published files in the reconstruction of the site.
    Unique Way to Maintain a Site from Multiple Computers

  • How to create personal site using csom ?

    I am using Office 365. I am trying to create personal site using following code
    private void createPersonalSite()
    try
    //using (SPSite site = new SPSite("Site URL"))
    //SPServiceContext context = SPServiceContext.GetContext(site);
    var targetSite = new Uri("https://test/sites/18thFeb");
    var securePassword = new SecureString();
    foreach (char c in adminPassword)
    securePassword.AppendChar(c);
    adminUserId = "[email protected]";
    var onlineCredentials = new SharePointOnlineCredentials(adminUserId, securePassword);
    ClientContext clientContext = new ClientContext("https://test/sites/18thFeb");
    clientContext.Credentials = onlineCredentials;
    //Get user profile
    //// Get the PeopleManager object and then get the target user's properties.
    //Microsoft.SharePoint.Client.UserProfiles.PeopleManager peopleManager = new Microsoft.SharePoint.Client.UserProfiles.PeopleManager(clientContext);
    //Microsoft.SharePoint.Client.UserProfiles.PersonProperties personProperties = peopleManager.GetPropertiesFor("domainName\\userName");
    //personProperties.UserProfileProperties.
    Microsoft.SharePoint.Client.UserProfiles.ProfileLoader loader = Microsoft.SharePoint.Client.UserProfiles.ProfileLoader.GetProfileLoader(clientContext);
    Microsoft.SharePoint.Client.UserProfiles.UserProfile profile = loader.GetUserProfile();
    Microsoft.SharePoint.Client.Site personalSite = profile.PersonalSite;
    clientContext.Load(personalSite);
    clientContext.ExecuteQuery();
    // Let's check if the site already exists
    if (personalSite.ServerObjectIsNull.Value)
    // Let's queue the personal site creation using oob timer job based approach
    // Using async mode, since end user could go away from browser, you could do this using oob web part as well
    profile.CreatePersonalSiteEnque(true);
    //clientContext.ExecuteQuery();
    catch
    int a = 10;
    The above code runs without any exception but does not create personal site. Can anyone please let me know what is the issue?  Can you please provide me any code or link through which I can resolve the above issue?

    Hi,
    According to your post, my understanding is that you want to create personal site using Client Object Model in SharePoint Online.
    The following code snippet for your reference:
    public void CreatePersonalSiteUsingCSOM(string tenantAdminUrl, string userName, string password, string[] emailIDs)
    using (ClientContext _context = new ClientContext(tenantAdminUrl))
    try
    SharePointOnlineCredentials _creds = new SharePointOnlineCredentials(userName, Utilities.StringToSecure(password));
    _context.Credentials = _creds;
    _context.ExecuteQuery();
    ProfileLoader _profileLoader = ProfileLoader.GetProfileLoader(_context);
    _profileLoader.CreatePersonalSiteEnqueueBulk(emailIDs);
    _profileLoader.Context.ExecuteQuery();
    catch(Exception _ex)
    throw;
    More information is here:
    http://blogs.msdn.com/b/frank_marasco/archive/2014/03/25/so-you-want-to-programmatically-provision-personal-sites-one-drive-for-business-in-office-365.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to Create Virtual Tape Library for RHEL 5.4

    Hi,
    We are planning to use a tape library (well, as our team proposed) so we are trying to create a Virtual Tape Library as a proof of concept on this project. Can you help us create virtual tape libraries using raw devices.
    We will be using Virtual Box as our virtualization environment which will run RHEL 5.4. Will this be possible?
    Thanks and hope you can give us some ideas.

    I tried the exact same setup and it is possible. What you will need is mhvtl and Oracle OSB to get a Oracle Media Management Library (MML).
    Please see Integration of RMAN with virtual tape library
    The link above should provide the setup info you will need. There were some initial problems, but according to follow up posts later versions of the products seem to have fixed the issues with tape handling.

  • How to create virtual directories on WLS 5.1

    Hello, I'm new using BEA WLS, and I've already read all articles on this forum
    about how to get virtual directories, but I cannot achieve this, please, would
    anyone be so kind to tell me how may I do this?, or to be so kind to tell me where
    may I get related and useful information to accomplish this task, please?
    I sincerely appreciate your attention and time on this matter, thanks,
    Miguel Angel Avila Vqz

    I sincerely appreciate your help Mr. Scott, I'll review all the documentation you
    refers,
    Thank you so much again!
    I hope I can help you someday too,
    Best regards,
    "Wayne W. Scott" <[email protected]> wrote:
    >
    >
    Miguel Angel Avila Vazquez wrote:
    Hello, I'm new using BEA WLS, and I've already read all articles onthis forum
    about how to get virtual directories, but I cannot achieve this, please,would
    anyone be so kind to tell me how may I do this?, or to be so kind totell me where
    may I get related and useful information to accomplish this task, please?
    I sincerely appreciate your attention and time on this matter, thanks,
    Miguel Angel Avila VqzHi Miguel:
    I was working on a case this afternoon related to the "FileServlet."
    Several articles I
    found which discuss this. I have them open on my desktop at the office,
    but I am home
    now. Try going to the AskBEA part of support -- http://support.bea.com/application
    and make sure the "Products" says BEA WebLogic Server. In the search
    box, I entered
    "fileservlet virtual directory configure" and after hitting Enter, got
    plenty of
    articles to read.
    You can also search the documentation for 'fileservlet'
    http://www.weblogic.com/docs51/resources.html
    http://search.bea.com/weblogic/go50/
    http://www.weblogic.com/docs51/classdocs/API_servlet.html
    Do you have any service packs installed? You will probably need them.
    Thank you,
    Wayne Scott
    BEA Support
    Liberty Corner, NJ

  • How to create a site and add security groups through code: scripts, csom, ... ?

    Hi,
    I'm new to CSOM and are looking for a way to create sites in SharePoint Office365 and especially add user to it with a specific role eg. 'visitor' or 'owner'.
    I use this code to add sites from a csv file, so far so good.
    But now I want to add security groups based on the csv file and assign a role. The security groups allready exists.
    and also how to add a user with a 'owner' role for some sites.
    That would make my life easier :-)
    so thank you in advance!
    # load assemblies
    #[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client")
    #[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.Runtime")
    Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"
    Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
    # site collection
    $siteUrl = “https://mysharepoint.com”
    # admin
    $username = "[email protected]"
    $password = Read-Host -Prompt "Enter password" -AsSecureString
    # get clientcontext as object
    $ctx = New-Object Microsoft.SharePoint.Client.ClientContext($siteUrl)
    # assign credentials to clientcontext object
    $credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($username, $password)
    $ctx.Credentials = $credentials
    # create site from template 'teamsite' => STS#0
    $data = Import-Csv "c:\tools\CSOM\vakwerking_test.csv"
    foreach ($row in $data) {
    $webCreationInformation = New-Object Microsoft.SharePoint.Client.WebCreationInformation
    $webCreationInformation.Url = $row.vakwerkingurl
    $webCreationInformation.Title = $row.vakwerkingnaam
    $webCreationInformation.WebTemplate = "STS#0"
    $webCreationInformation.UseSamePermissionsAsParentSite = $false
    $newWeb = $ctx.Web.Webs.Add($webCreationInformation)
    Write-Host "Title" $newWeb.Title
    #send to sharepoint
    $ctx.Load($newWeb)
    $ctx.ExecuteQuery()

    Hi,
    The command above about creating a group only works for the root site of the site collection, because the scope of the user group is site collection level, these groups
    can be used in all the sites in this site collection.
    With the existing groups in the root site, we can add users into them and grant specific permissions of a specific sub site to these groups.
    Here is a demo about how to assign permission to a group using Client Object Model(though in C#) for your reference:
    http://www.c-sharpcorner.com/UploadFile/54db21/set-permission-to-group-in-sharepoint-2010-programmatically/
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • How to create a site column through Visual Studio 2010?

    I was trying to create lists, content type and site columns through Visual Studio 2010. But I could not figure out how to add site column? What item do I need to add for this and what kind of coding is to be done?

    Try this
    1. Create a Empty project in Visual studio.
    2.The Empty SharePoint Project template does not include any Features in the Features folder. To add a new Feature to this project, right -click the Features folder, and click Add Feature. This adds a new Feature component to the folder; double – click the
    Feature1 icon in Solution Explorer to modify the Feature ’ s
    metadata using the Feature designer. The Title and Description values appear on the Features pages in Site settings. It is a good idea to make these values
    descriptive so that administrators will know what they are adding to the site when they activate the feature.
    The feature ’ s scope determines where the feature can be activated within SharePoint. Please Note – Certain components, such as site columns, content types, Master pages, and Page Layouts, are installed at the site collection level and made available to all
    sites within the collection. These components require that the scope for the feature be set to “ Site. ”
    3. Next, add a new item to the project (Right – click project name ➪ Add ➪ New Item) and select the Empty Element template from the Add New Item dialog box.
    The Empty Element template is an XML fi le where you can enter CAML Field definitions.
    Following is what you will add in your elements.xml file –
    < Elements xmlns="http://schemas.microsoft.com/sharepoint/" >
    < Field ID="{76C140E1-D827-433B-AD38-257F9594B846}"
    Name="CustomCol"
    DisplayName="My Custom Site Column"
    Group="Custom group"
    Type="Text"
    Required="FALSE"/ >
    < Field ID="{5F516D92-969C-4661-81B9-C9210E2A2FDC}"
    Name="Choice Type"
    DisplayName="My Choice Type"
    Group="Custom group"
    Type="Choice"
    Required="FALSE" >
    < CHOICES >
    < CHOICE > Medical < /CHOICE >
    < CHOICE > Dental < /CHOICE >
    < CHOICE > Vision < /CHOICE >
    < CHOICE > Insurance < /CHOICE >
    < /CHOICES >
    < /Field >
    < /Elements >
    4. To deploy the Site Columns defined in the Elements file, right – click the project name in the Visual Studio Solution Explorer, and select Deploy. This will deploy the solution file to the solution store and activate the Feature in the targeted site collection.

  • How to create virtual system

    Hi all,
    i am fresher i wish to check with client export and i am having access to only one sap system.
    how can i create the virtual system for the purpose of testing of client export?
    thanks,
    Dinesh.

    Hi Dinesh,
    Go to domain controller. Then go to STMS transaction.Then from menu bar choose Overview-->Systems.
    In the next screen in menu bar choose SAP systemCreate-Virtual system.
    Give the virtual sytem name and description. Save the changes. Keep the communication system same.
    Then adjust the transport routes in STMS accordingly.
    Regards.
    Ruchit.

  • Free iWeb downloadable templates, videos and how to create custom sites.

    You asked for it and you've got it! More templates for your hearts content. Use it as study guide or simply adopt it to your desire. MacEzzy site has a new face lift to incorporate all the benefits iWeb has to offer. This site examplifies awsom things you can do beyond supplied templates. You too can create your very own custom site using iWeb. Lots more stuff will be added, I hope you like the new look and the templates.
    http://macezzy.com
    Powerbook G4 Ti   Mac OS X (10.4.4)  

    hi folks
    don't worry, i have given up as it really seems iWeb can not do this.
    however, i have identified 2 possible solutions. the one i have chosen is to simply add new albums by choosing one of apple's templates and then modify it until it fits my design. i have created 15 additional main albums this way and it took me (because of the "mass production") only 15 minutes per album to get it done. now i have enough empty albums spare for the next few years...
    the other way to accomplish what i wanted would have been to make the main "my album" page invisible for visitors and use it only for administration (so it can contain 100 albums but nobody would ever have to wait until they load). then create a new page which i call picture (copy any of my other pages and modify it) on which i will post some "virtual albums", which means use any picture out of an album and create a direct link to the album. i could use a vary low resolution version of the main pic and this way i would have a "picture" page which loads extremely fast but is actually nothing else than a link to the real album. then just copy this page as many times as i need albums and change the pictures and the links in it. the advantage is that it loads very fast, the disadvantage that i loose the ability to scroll through albums by moving the mouse over it, as what you see is of course only a picture and not the album.
    i have chosen the first version because it has the advantage to be able to move albums as one pleases. however, both versions would be fine.
    it's already done and eaten.
    thanks anyway for reading yourself through this...
    cheers
    george

  • How to creat virtual wifi mini adaptor.

    In commond prompt when write & enter the "netsh wan..." commond prompt does nothing for the same.

    If what you want to achieve is to create a shared internet connection, then you can simply use the GUI provided in Windows 7.
    Please refer to this link
    Set up a shared Internet connection using ICS (Internet Connection Sharing)
    http://windows.microsoft.com/en-in/windows/using-internet-connection-sharing#1TC=windows-7
    If you want to use the command prompt
    Please make sure to follow instructions in this link
    How to Configure WiFi Hotspot in Windows 7 Using Command Prompt
    http://www.durofy.com/how-to-configure-wifi-hotspot-in-windows-7-using-command-prompt/
    NOTE
    This
    response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft
    does not control these sites and has not tested any software or information found on these sites.
    Regards
    Yolanda
    TechNet Community Support

Maybe you are looking for

  • Access Denied Error Opens when Installing HP Monitor Software (Windows 7)

    im getting the following error trying to upgrade my screen driver. "Access Denied Error Opens when Installing HP Monitor Software (Windows 7)" I found this error in the help area but it doesnt address the problem, it simply describes the device manag

  • A very strange problem in microsoft access

    Hi all, Recently I wrote a simple java application which use microsoft access as the database. I connect the database sucessfully and I've even done the regular expression to filter the invalid text characters, everything works fine util I do the fol

  • Actual work difference between Reporting and Published (2013)

    Hello! I'm currently battling with MS Project Server 2013 to understand a difference we observe in actual work. here is the scenario... User submits 6 hours for a task on Dec 18 Task is accepted and updated in the plan - we can observe this in resour

  • Best practices for additonal storage devices in a clustered container

    I am wondering what is considered as best practices related to adding more storage devices. I have a Solaris Cluster 3.2, a failover resource group with a SZBT resource and a HASP resource for the zone root path. Now i have to add more storage device

  • [Help]Migrating to OBIEE has java.Lang.NoCLassDefFoundError

    Hi, When I try to migrate report to obiee according to guide, there are classic error of java "java.Lang.NoCLassDefFoundError" My steps are: 1) set classpath=C:\OracleBI\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\WEB-INF\lib (this is the pa