Links to the site fail on the local test server

Using CS4/WAMP/XP, I have a test set up server. Everything works fine except that when I specify links to the site, on the testing server they not go back to localhost, localhost/Frances. They work very well on the online site, but not on my test server.

This prevents me from using (and stable) "include" files for things like menus when parts of the site are in different folders.

I have my setup of site as follows:

Local news

Name of the site 'FFG2009 '.

Local root folder C:\wamp\www\Frances\

By default the folder images C:\wamp\www\Frances\images\

HTTP address: http://localhost/Frances/

Test server

Server model: PHP/MySQL

Access: Local/network

File of the test server: C:\wamp\www\Frances testing\

URL prefix: http://localhost/Frances/

In my Apache configuration file, I have a virtual directory that is set up like this

Alias /Frances/ "c:/wamp/www/Frances / '.

< directory "c:/wamp/www/Frances /" > ".
all options + includes
AllowOverride all
Order allow, deny
Allow from 127.0.0.1
< / Book >

I was informed that I could temporarily change the folder of Apache webroot on my record "Frances", but this stops other things like PHPMyAdmin to work. I also have other sites in my www directory and I don't want to change the rootweb Apache Directory each time I need to work on another site.

Is it possible to set up my site in CS4 so that the root links site go to localhost/Frances rather than just localhost?

Thank you

Tone'z

It's something I've had to do for some while now. Alias simply create shortcuts to a directory, they do not have their own directories 'Document Root'. I'm pretty sure you need to do is to set up a virtual host using WAMP (in fact, Apache, any installer is used). I'm almost certain that one of the books of David Powers cover the subject, but the one I apparently was already packed (moving soon).

I followed the steps of http://blog.jlbn.net/?p=23 and it was quick and much easier than I expected. He missed for subdomains, but I found the solution quickly to the http://www.sitepoint.com/forums/showthread.php?t=394472 (I don't know why I didn't get it virtual host, but Google has gotten in the way :-))

So now I have http://localhost , http://test.localhost and a true domain that I own (it's not hosted online) all running on my local computer.

In your case, you might want to implement the subdomain http://frances.localhost so as not to cause interference with the actual domain name. Or make sure you have the server offline. If you don't know how to do this in the file httpd.conf, then in WAMP, it's two mouse clicks: WAMP-> put in offline mode. It is a good idea in any case

Thank you for pushing me to learn how. It was high time that I updated in any case my installed WAMP.

HTH

--
Mark A. Boyd
Keep-on-Learnine :-)
This message was processed and published by Jive.
It will not be considered an accurate representation of my words.

Tags: Dreamweaver

Similar Questions

  • No links to the local area network connection. But how to use the Internet again, please help establish a LAN connection.

    Original title: no local network connection

    No links to the local area network connection. But how to use the Internet again, please help establish a LAN connection.

    Hi H.mustafaakyurek,

    ·         What operating system is installed on your computer?

    You can view the following items on the creation of a network connection:

    Setting up a network home

    http://Windows.Microsoft.com/en-us/Windows7/setting-up-a-home-network

     

    Start here to set up a home network in Windows 7

    http://Windows.Microsoft.com/en-us/Windows7/start-here-to-set-up-a-home-network-in-Windows-7

     

    Setting up a wireless network

    http://Windows.Microsoft.com/en-us/Windows7/setting-up-a-wireless-network

    Also see the following articles on the connection of an Internet connection:

    What do I need to connect to the Internet?

    http://Windows.Microsoft.com/en-us/Windows7/what-do-I-need-to-connect-to-the-Internet

     

    Allows to connect to the Internet mobile broadband

    http://Windows.Microsoft.com/en-us/Windows7/use-mobile-broadband-to-connect-to-the-Internet

    Hope this information helps.

  • Unable to connect to the local MySQL server through socket ' / var/lib/mysql/mysql.sock' #2 #.

    I received an email indicating that HP does not show me as having all printers which explains why I have not received information of driver update I guess.  But when I typed in HP4500 G510, I received the following error message:

    Unable to connect to the local MySQL server through socket ' / var/lib/mysql/mysql.sock' #2 #.

    And since I don't know beans about computers, I don't have any idea what it means.

    Because I had to pick a topic, I chose the one above, but no other choices were nowhere near cover.

    Hi mac64.
    I understand you are trying to register for updates for your Officejet 4500. I can certainly help you with this.

    I'll give you a link to try to register for driver updates. Please let me know if it's the same link you used and if this works differently for you, simply click on the following link: the HP driver updates.

    Hope to hear from you soon

  • How to prohibit remote access vpn client to use the local DNS server

    Hello

    I'm on ASA5505 remote access vpn configuration.

    Everything works fine so far, except when the client got connected, he always used the local DNS server provided by the ISP.  How can I force the customer to use the DNS server configured on ASA?

    Thank you.

    Kind regards

    The command "Activate dns split-tunnel-all" is supported only on SSL VPN and VPN IKEv2. Since you're using IKEv1, this command is not supported.

    Here's the order reference:

    http://www.Cisco.com/en/us/docs/security/ASA/asa82/command/reference/S8.html#wp1533793

    You configure no split tunnel? If you are, then you need to configure "tunnelall" split tunnel policy, and that will force the dns resolution and everything else through the VPN tunnel.

  • How to transfer a website on my hard drive on a local test server?

    My site, I've developed in Dreamweaver CS3, is currently all the static HTML. I do progress to change to have a PHP content, but my initial work is everything on my site online - I want to be able to do the development and testing on a local test server. I have successfully configured the XAMPP and make progress in the development of some pages on a * new * test local site (that I installed for local control to C:/Program Files/xampp/htdocs), which I put in place to have a PHP-based dynamic content. What I * don't * find a way to do is to take all my local content for my website online (which is currently under C:/Documents and Settings/MyName/mysite /) and move it to http://localhost/ (in C:/Program Files/xampp/htdocs), so I can develop and test new dynamic content for my site locally on my local Web server. I suspect that there are a few simple steps to achieve this goal, but I am quite new to this and cannot understand it. Advice and guidance will be greatly appreciated!

    ssickels wrote:
    > What I * don't * find a way to do this is
    > to take all my local content for my website online (which is currently at)
    (> C:/Documents and Settings/MyName/mysite /) and move it to http://localhost/ (in
    (> C:/Program Files / xampp / htdocs), so I can develop and test the new dynamic
    > content for my site locally on my local Web server.

    Open Windows Explorer, navigate to C:/Documents and Settings/MyName /,.
    Right-click the MySite folder, and then select copy. Then navigate to the
    C:/Program Files / xampp / htdocs, then right-click and select Paste.

    Your site will then be http://localhost/MySite/

    --
    Adobe Community Expert David Powers
    Author, "The Essential Guide to Dreamweaver CS4",
    "PHP Solutions" & "PHP Object-Oriented Solutions.
    http://foundationphp.com/

  • Links related to the root &amp; local test server

    Yesterday, I realized that I have to use links to the root in a SSI file included so that it would work from templates and pages in my main directory (or other directories, besides), for example, "src=/image/picture.jpg". However, as my site is PHP, in order to test the pages or even to use the Live View, I do use a server 'test '. I did it without much trouble using a package called EasyPHP, support that puts in place a local web server as well as the module PHP, MySQL, etc. It all works very well.

    The problem is that, in order to support multiple web sites, I have to use a "virtual directory" spec to direct the web server to the correct location of the files in my site. In the configuration for the test server, so I have to specify a URL prefix such as 'http://localhost/corinthian' of this particular site. Which worked previously, but breaks when using the root-relative links because the server see the "root" as the main directory "localhost" instead of "localhost/Corinthian. So now my SSI does not appear correctly because it is not resolved to the appropriate directories.

    I don't think it's fixable, unless someone else has run into it and can think of something I could try. Anyone? Break some of my code in a SSI was certainly more of a challenge than I expected!

    You have two options:

    1. Set up local virtual hosts.  I did and it works great!  See http://www.apptools.com for more information on how to do it.
    2. Make your root-relative links

    /whatever/whatever.php">

  • Link to the local function?

    In earlier versions of Flash, it was possible to link to a local function. In the htmlText of a text box, you can link to the event: functionName instead of a Web site. Is it possible under the text layout? If so, can anyone send an example?

    For the click event, you can do this:
    Click = "myEventHandler (Event); »

    In addition, you can set the href on the link as:
    href = "event: eventName" and then add a listener for eventName in the textFlow.

    Richard

  • A link to the local web content

    I develop some courses for my employer, and we will have a html content that I want to welcome the SGA as near the Captivate course itself as possible. (Sorry if my description is vague; I don't get too involved in the publishing of LMS.)

    What I do now: Captivate my lesson is on C:\Captivate_courses\Lesson 1\ so then I take the folder that contains my glad to say \web\kitty_cat\kitty.htm web and place it in the folder of lesson 1, making the place the button should appear in a separate window when you click on it. It works fine on my local machine, but I don't know how to publish so that can be packed on a CD or flash key and sent to my small business for review.

    I hope that I have explained my problem clearly enough.

    Hello

    If you send just a small business, then I would say that you are sure of your kitty.htm in a directory (on your CD-ROM drive or Flash drive) simply copy the html code and swf.  Make sure you think the url in your captivate project is a relitive link... ie.  If you find the file and then remove the drive and folder of the URL in the properties panel to your link button.  So if he says just c:\web\kitty.htm make kitty.htm.  The captivate published file will look in the root folder because it is now a relative link to the file.

    Hope that helps.

    Michael

    vTrainingRoom

  • Problems using the local test on a Mac server

    I defined a local test for my website server: connect you using Local/network; file server: / Users /... / FPPATesting /; Web URL: http://localhost/FPPATesting/; For model server: No.  The site is hosted on a server of InMotion.

    I see that my local server folder was automatically filled with site files, but there are many missing, although the index.shtml file is there. If I drag the index.shtml file in the test folder in the field URL of Safari, it shows pretty much as it should, except that my Include files were not loaded. the Include files are in the folder test, but they aren't repeated. I get the same result if I choose Preview in Safari. And in this case, the files are all taken from the test folder; If the test server seems to be recognized by Dreamweaver.

    Curiously, if in the test folder, I open the file index.shtml, in Dreamweaver, Live View in Dreamweaver displays a seemingly complete site - almost. It is not complete because there not all the image files for the site. But the Include files have been included.

    So my problem is from my test server. I thought that call for a preview in one of the browsers show me the full site. Would it because I chose a server model "None"? I didn't know what else to use, as I am not including any content database. What should I do now?

    This can help working with server-side includes in Dreamweaver.

  • Could someone provide the link where the SQL test can be taken online?

    Hello

    My apologies for what is lame. I'm not looking!

    I read in another thread in this forum the following:

    >
    The SQL test that you can take online, which should allow you to take it as soon as you are ready.
    >

    After a few searches on Google and looking around in Oracle's web site. I can't find the page where you can take the test SQL.

    If someone would be kind enough to provide the link, I would appreciate it.

    Thank you.

    John.

    John,

    Here are a few links that might help answer your question... There are managed (done in the examination centres) and unmanaged (can be done online - can be under an oak, as long as you have internet connection :))...)

    http://education.Oracle.com/pls/web_prod-PLQ-dad/db_pages.GetPage?page_id=51
    http://education.Oracle.com/pls/web_prod-PLQ-dad/db_pages.GetPage?page_id=42

    Kind regards
    Rownald

  • Why was able to copy the file "test server" rather than "remote server"?

    Windows 7, Dreamweaver CS5 (v11.0)

    Until very recently, the operation Put copied the file on the remote server. Now it copies on the test server. I would like to change it to copy it to the remote server.

    Thank you, David. Yes, the configuration is correct.

    I stumbled upon the resolution. The icon of the right on the line Get and Put is "Expand to show local and...'." Click on this icon and then click on the 'Remote server' icon, which modifies the list of remote files files. If you want to see the files of tests, click the "Test Server".

  • I've implemented the * &amp; amp; * % $ test server - now can I please add a Recordset?

    I encounter this problem sometimes with DW. I created an asp site with aspVBscript. When I go to add the application box server behaviors has the first s two checked item (create a site for this file) and choose a type of document, but the third, 'Set up test of the site server' is not, yet I set up the server to test (several times). It's the same parameters of test server that I use on several of my other sites and they are very good. Why the DW could be insisting that I have not put this? I tried to close the application and restart, but he always thinks that I have not entered a test server for the site settings and therefore will not let me add server behaviors.

    Someone has any ideas why this is happening and what I could do to fix?

    BTW I use Dreamweaver CS3 on a windows XP pro SP2 machine. Windows 2003 IIS Server 6.0 where the site resides.

    The word 'test' in this case really means a test server for Dreamweaver, not for the developer. Dreamweaver must have access to an application server functionining to activate some features like tables can be explored in the databases Panel or selectable columns in the Recordset dialog box. DW is actually ping the test server to generate this information.

    Charles Nadeau
    Dreamweaver
    Adobe Systems

  • Link to the local opening PDF causes .doc 0xc0000005

    Hello

    My users are currently faced with the problem that if they click in a Word document on a link pointing to a local PDF (PDF on the desktop for example), Acrobat Reader DC 2015.009.20069 instantly crashes with error 0xc0000005, every time!

    Anyone else facing this? Is this a known bug?

    Hi yvesr93749591,

    Can you please choose option "Check for Updates" in the Help menu to install the latest patch for Acrobat DC and check again.

    Try to disable the Protected Mode under ' Edit > Preferences > (protection) "and see if that helps.

    Let me know.

    Kind regards

    Ana Maria

  • Publication of Web Applications on the local IIS server

    Hi all

    I have problems trying to publish a Web site on my local server.

    I got up a local box of Windows Server 2008 with IIS running by default on its site.

    What I'm trying to do is to publish a 5 ASP.Net MVC application to test and run on my local network.

    The application is built successfully on my dev machine Windows 8 using Visual Studio Premium to 2013, but when I try and publish it, publication fails.

    I am trying to publish via Web Deploy and have installed and running on the server of WWW Publishing Service.

    The error I get when trying to test connection is;

    Unable to connect to the remote computer ("PRDAP01") using the process specified ("Web Management Service") because the server did not respond.

    Make sure that the ('Web Management Service") process is started on the remote computer.

    More on «...» "/fwlink/? LinkId = 221672 #COULD_NOT_CONNECT_TO_REMOTESVC.

    The remote server returned an error: (403) forbidden.

    The user name and password with which I used to publish are valid.

    In the Web Publishing Wizard, I use the following settings before confirming the connection.

    Server: PRDAP01

    Site name: PRDAP01/home

    User name:

    Password: *.

    Destination URL:

    Should I create whatever it be put in place in advance on the server before trying to publish on it?

    Is there documentation that explains just what I need to do, in order to allow the publication?

    You must post the Forum of IIS:

    http://forums.IIS.NET/

  • Impossible to use the local DNS server

    As a home user, I want to have a good DNS for my local network.

    I decided to install PowerDNS on one of my virtual machines. It works perfectly and does exactly what I need; resolve local names (research as well in the position reversed) and transfer the other requests to my router.

    Because name resolution is a very basic function, I want to reduce the dependencies, so I thought it would be better to have complied on my ReadyNAS.

    I installed the NHDP-server and pdns-backend-mysql. Copied on the web tree 'poweradmin' a simple management, exported the virtual machine's MySQL database and imported on the ReadyNAS.

    So far so good. Poweradmin web interface works well, but I couldn't pdns to start. I noticed "bind" was running, so I killed that. ;-)

    However, pdns cannot always tie up port 53. Research has taught me that "connmand" is listening on this port.

    Can I just turn it off? The "Connection Manager" name seems to imply it does all kinds of things for the NAS, so I want to be very careful there.

    What would be the right way for pdns on my NAS?

    I forgot to recharge systemd (I'm still fairly new to this)

    So I got a:

    root@truck # systemctl demon-reload
    root@truck # systemctl restart connman

    and PowerDNS working.

    Thanks for all the help. ;-))

Maybe you are looking for

  • Adds are so bad that I can't enjoy watching any page

    I "adds" crawling on all pages that I discover (except Facebook). It is so bad that I deleted Firefox for a while. I like all the rest on fire fox. Help, please.

  • Satellite L500 - failed to initialize webcam

    Webcam always worked... all of a sudden, it will not open and I get the message:+ "failed to initialize the webcam." Please check your device and restart the application or computer. » + The device is what is installed on this Satellite L500 laptop.

  • Select the line of contour based on static text

    Hello Thank you much in advance. As I'm fairly new to AppleScript, I don't know what is and what is not possible. My goal is to have a single script that works for 7 of our branches and about 1,500 people. The idea for the script is: 1. ask the user

  • Show/Hide indicator or pragmatic control

    Hi all Phew back to labview after a long ternious with electronics and mathematica. Question: How can I change the appearance of an indicator or a control programitically. I have a button on the front panel which, once clicked must display the indica

  • BlackBerry Z10 battery charge percentage of the screen to a z10.

    Is there a way to show your battery charge in percentage on the home screen of a blackberry z10 If anyone knows I would appreciate your help.