URL prefix for testing server?
My site is hosted by Pair Networks, which uses MySQL and PHP
for dynamic content. The site has separate root URLs for the SSL
and non-SSL portions of the site, and I have two separate "sites"
in Dreamweaver to manage the content. But when I set up a database
connection on the SSL side, the connection only works if the SSL
site's testing server has the URL for the non-SSL site. How do
other Pair customers set up their Dreamweaver sites? Any
suggestions would be great.
Do you have the "User Secure FTP (SFTP) option" checked in
the Remote Site
Definition of the Secure site?
Nancy Gill
Adobe Community Expert
BLOG:
http://www.dmxwishes.com/blog.asp
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web Development
"Carstonio" <[email protected]> wrote in
message
news:e3t2fp$snp$[email protected]..
> My site is hosted by Pair Networks, which uses MySQL and
PHP for dynamic
> content. The site has separate root URLs for the SSL and
non-SSL portions
> of
> the site, and I have two separate "sites" in Dreamweaver
to manage the
> content.
> But when I set up a database connection on the SSL side,
the connection
> only
> works if the SSL site's testing server has the URL for
the non-SSL site.
> How
> do other Pair customers set up their Dreamweaver sites?
Any suggestions
> would
> be great.
>
Similar Messages
-
Setup for testing server "the prefix does not match.."
I am just getting started using Adobe Dreamweaver CS3
with AppServ (Apache, Php, MySQL).
Im using Windows XP Service Pack 2 and and test it on the
same computer.(localhost)
I created a folder on my hard drive
C:\AppServ\www\MyLocalSite.
Here´s the setup under the Advanced tab in Dreamweaver:
Server model:
php Mysql
Acess:
local network
Testing server folder:
AppServ/www
URL Prefix:
http://localhost/MyLocalSite
When I click OK, the following message is displayed:
The site URL Prefix for the testing server does not
match..
I have run a lot of sites on my localhost but never ever
get this unusual message.
The worst is - I cant use the Recordset with Bindings in
Dreamweaver CS3 if I dont solve this weird "prefix" problem.
I ´ve tried a lot of workaround solutions but always end
up with the message
that prompt "the prefix does not match.."
Is it a bug or what?
I appreciate every answer
Update
21:47.................................................................................... .
I´ve tried to configure a connection to the database
and I end up with this message:
1) There is no testing server running on the server machine
2) The testing server specified for this site does not map
the
http://localhost:80/myLocalSite/_mmServerScripts/MMHTTPDB.php
URL.
Verify that the Prefix maps to the root of the site
The server is running and is working when I request my local
site in IE 7:
localhost/myLocalSite/index.phpI too had been experiencing this problem after installing XP
service pack 3 last week.
Too fix this issue I had re-assign all file permissions to my
root web folder.
Remove all permissions and re-assign the groups
administrators, authenticated users and everyone FULL CONTROL of
this folder.
Click the advanced button and make sure permissions are not
being inherited from the parent folder.
Then select the option to re-assign all permissions to all
child files/folders.
Good luck. -
Display URL prefix for file source
Hi Gurus,
Maybe a real simple one, but please advise as the site is going to go production soon.
Please take a look at this eg.
Filesource1:
i)physical dir(URL): file://localhost/private/htdocs/abc/
URL prefix : file://localhost/private/htdocs/
display URL prefix : http://my.server.com/
ii))physical dir(URL):file://localhost/raid02/htdocs/mkc/
URL prefix :file://localhost/raid02/htdocs/
display URL prefix :http://my.company.com/
I have a single file source(Filesource1) in the admin set up that will crawl two different directory structures with two different display URL.
I had initially crawled with "No display URL" option, then used the Display URL screen to enter both the mappings. It worked(it updated the URL column in wk$URL table to start with 'http://'), however, new crawls dont seem to recogonize the Display URL mappings.Is this because there is more than one mapping?
Is the only solution to create two different filesources with a display URL mapping for each?
thanks,
SundeepHi Leah,
The display URL for a Database Source should point to a separate server that provides web access to the document. It is not meant to point back to the SES instance. As the Admin Guide states:
"This connector requires that there is URL-based access to the records in the result set of the view or query."
In other words, the display URL should be something you can copy/paste into your browser location bar to view the document, with the other server rendering the document information to a user completely independently from SES.
HTH,
Mark -
Proper IMAP prefix for Exchange Server
Does anyone know what the proper IMAP prefix is for Exchange Server?
Currently, I have specified "INBOX". On the iPhone, I can see my inbox, and all subfolders, but I can't see any other folders on the same level as inbox. Also, the iPhone has created "Sent Items" and "Deleted Items" folders UNDER my inbox and is using those instead of the ones Exchange uses at the same level as inbox.
I tried specifying "/", which wouldn't let me access anything. There doesn't appear to be a way to leave the prefix blank (the iPhone auto-fills "INBOX" if you blank the field), so I haven't been able to try that.
Any ideas? Thanks!
iPhoneYou're right. It did. Using an IMAP account instead of an Exchange account allowed me to see all folders at the same level as "inbox". Thanks!
But, what's the point of the "Exchange" account then? -
URL prefix under IIS for multiple sites
I'm trying to set up DW8. I webmaster a large number of sites
for clients using a variety of hosting companies and web servers. I
use IIS under Win2K Pro.
Pre-DW, my setup has been to have a test area with folders:
Inetpub\wwwroot\site1, Inetpub\wwwroot\site2, etc. To test I browse
to localhost/site1, localhost/site2, etc. Then I copy the files to
another part of the disk: websites\site1, websites\site2, editing
them to change directions to the include files (sometimes I work in
ASP, sometimes in PHP). Even with a utility we've made special for
this task, this is a ROYAL PAIN. Then I upload site1 to server1,
site2 to server2, etc.
I have to do it this way because IIS will only recognize one
website at a time, and I jump around from site to site so often
it's a real pain to turn the sites on & off via the Control
Panel.
Now I'm trying to set up site definitions on DW8. For Site1 I
say the URL is www.site1.com, the local testing spot is
Inetpub\wwwroot\site1, and it gives me this "site URL prefix for
the testing server does not match the site URL prefix specified in
the HTTP address". What do I do? What have you-all found is the
easist approach:
1. fool DW about where files are kept?
2. Do the PITA switch between which site IIS thinks is
"live"?
3. host a local multi-site server?> I have to do it this way because IIS will only recognize
one website at a
> time
Fix:
http://mnteractive.com/archive/running-multiple-sites-on-win2k-and-xp/
-Darrel -
PHP setup - Testing server errors
Hi all,
I am into my first play with Dynamic web pages. I am trying
to get a database and dreamweaver to connect together. I have tried
a variety of settings to get it to work but everytime I seem to
come across a problem with the folder where the database are
located and trying to map to the URL prefix mapping.
My databse is located in C:/phpdev5/mysql/data/artist
I cannot fathom where to point the URL prefix too. (For
further info the local root folder is elsewhere and the remote
folder is my live website- I did try to get it to connect to that
but gave up and tried doing it locally for the moment).
Can anyone stop me from tearing my hair out.
Mark> My databse is located in C:/phpdev5/mysql/data/artist
a MySQL database isn't in one place, it's a collection of
information stored
in the MySQL application. You interact with it using a
database_name/username/password.
The url prefix for the testing server is what's needed to
view the site
using the local server. Such as:
http://localhost/thissite/
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
Will not set up testing server
I have done this in the past many times. Recently DW 8 will
not set up a testing server when I chose local network.
I am running Windows XP Pro, version 5.1, Service Pack 2.
This is driving me crazy.
Any help.
Also, I can figure out how to call and pay Macromedia for
help with this. Any advice on that.
Thanks.> Testing server folder points to a folder.
> URL is
http://localhost
Actually, the path to the testing server would usually be
like -
c:\inetpub\wwwroot
And usually, you would want your testing server to point to a
FOLDER within
the webserver's root, e.g.,
c:\inetpub\wwwroot\folder
Use a different folder for each site so that you don't get
all your site's
files jumbled up in the webserver's root folder.
Then you would want to specify a URL prefix for your site of
http://localhost/folder
So -
Server Model: ASP VBScript
Access: Local/Network
Testing server folder: c:\inetpub\wwwroot\folder
URL Prefix:
http://localhost/folder
Is that how you have it?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Webconsul470" <[email protected]> wrote in
message
news:g513jk$jft$[email protected]..
> Not sure what about being through the site definition
process.
>
> I have set up many sites successfully in the past. But
right now I can
> not.
>
> Server Model is asp vb script.
> Access is local/network
> Testing server folder points to a folder.
> URL is
http://localhost
>
> One idea (probably not a good one) is that I am not
getting to the right
> place
> or any place with localhost.
>
> When I load this file in my browser it works fine
> file:///C:/Inetpub/wwwroot/test.html
>
> But this one produces nothing and no code in a view
scource
>
http://localhost/test.html
>
>
> -
Hello~
I am working on a site in Dreamweaver 8, and keep getting an
error message about the testing server not resolving... but I don't
have a testing server set up! The Testing Server tab is set to
None. The host directory is set to "/", like it reads in the error,
but I'm not sure why it thinks this is also a testing server. Any
ideas?
Error:
The URL prefix / for this site's testing server could not be
resolved. This could be due to several reasons:
1. You have specified a local root folder that does not fall
under the web server root folder (not the easiest way to test a
site).
2. There is no web server running on the URL. A web server
must be running in order to map pages through a URL.
3. There is a web server running but no virtual web folder
has been mapped to this prefix. A web virtual folder mapping is
needed for local sites that aren't under ther web root
folder.dave_65 wrote:
> 2) The testing server specified does not map to
>
http://localhost/somefolder/website/_mmServerScripts/MMHTTPDB.php
URL. Verify
> that the URL Prefix maps to the root of the site."
The problem lies in the following:
> Testing server folder: C:\Documents and
> Settings\somefolder\....\somefolder\Website\
The testing server folder must be inside the Apache server
root. If you
have a standard Apache setup, this will be a folder called
htdocs within
C:\Program Files\Apache etc.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
first day notes:
I've spent the last two days transitioning into Dreamweaver and setting up my test server MySQL PHP and Apache by following online help, tutorials and recommendations. I've Terminaled MAMPed, and installed more crap than I wanted to fill my hard drive with. I've done everything I can think of just so I can see what the site I'm working on will look like in reality (using Server Side Includes) before posting as I'm still in the proposal stages of this project.
All files are relative to the document and not root
preview using temporary file is checked
Testing Server folder is: MacintoshHD:Library:WebServer:Documents:sitename
Testing Server URL Prefix is: http://127.0.0.1/sitename.com/
FF and Safari give me:
Not Found
The requested URL /MarcJanowitz.com/TMPV8Y2WAUZU.shtml was not found on this server.
I'm used to iWeb but it clearly doesn't have the functionality I need, which is why I'm trying to graduate. I can't use DW if I can't see what i'm creating. I can't rely on faith when I don't have the experience with this program to have the faith.
I've been all over google and the forums since 5pm yesterday (short nap in the middle) and it looks like i'm doing everything I'm told.
I'm afraid I did something in terminal I shouldn't have or something slightly wrong in my installation/implementation of MySQL PHP and Apache. Or that i'm misunderstanding what I'm supposed to be putting in for "Testing Server URL Prefix" or something. I need to find out asap whether this is a lost cause or fixable so I know whether to cut my losses.
the next day i tried:
apache is set to run by setting my web sharing on
i changed the line that said 127.0.0.1 in my config.inc.php. back to localhost so i could try
Try: http://localhost/sitename.com
I'd switched because i was getting "Re: #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)" and I found these:
MySQL :: Re: #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
MySQL :: <<< THE SOLUTION - SOLUTION SUMMARY >>> <<< READ THIS FIRST >>>
now that i look at those pages again, perhaps just switching 127.0.0.1 back to local host in both places isn't enough
i've sort of lost track of the changes i've made now
I switched the line in manage sites to lowercase to match the folder
PHP and MySQL were running last night before i shut down. How do I make sure they're running now that i've started up again?
as of now, still getting "not found"
I know there are similar topics but i'm certain i've gotten myself in a unique enough situation that it is worth a new discussion because i can't find one close enough to what i've done
thanks!Diana Kesselschmidt wrote:
3)don't know where you mean when you say:
simply declare those ports in the call... i.e. localhost:8889 for mysql and to see the website localhost:8888
I explained this before. If you use the default MAMP ports, you need to use http://localhost:8888/ instead of http://locahost/ in the URL prefix of the Testing server definition. Also, when creating a MySQL connection, use localhost:8889 instead of localhost in the Server field.
If you have stopped the preinstalled version of Apache in System Preferences, as well as stopping the version of MySQL that you installed from a dmg, you can change the ports in MAMP. See the following screenshot, which is taken from the tutorial on setting up a PHP development environment:
The screenshot shows the default MAMP ports. If you click the "Set to default Apache and MySQL ports" button, those values will change to 80 and 3306 respectively. If you do that, and you get a green light from both MySQL and Apache, you can use http://localhost/ and localhost in the testing server and MySQL connection dialog boxes.
If you still get errors when trying to test a page in Dreamweaver, please give precise details of the values you have entered in the Testing server folder and URL prefix fields of the Testing Server section of the Site Definition dialog box. -
The guy who developed our website recently disappeared
leaving me with the responsibility of making the minor changes we
needt to make. I only think this is relevant because I really have
no business doing this and I'm hoping that you all will help me
through my issue and not tell me to hire a professional.
Anyway I installed Dreamweaver and IIS on my XP Pro machine.
I set up the remote server and downloaded (Get) the entire site
onto a network drive. I set the Local root folder to the location
that I downloaded the site. I set the Testing Server folder to the
same location. Given my experience I thought I would change/test in
the local copy of the site and then Put the changes up for the
world to see.
The URL Prefix for my Testing Server is:
http://localhost/.
When I try to preview my changes I get a page can not be
found error. I believe this is because the local copy of my website
is not in the C:\Inetpub folder. Do I have to move it?
Do I have to set up a Virtual Directory in IIS? Is it right
that I can't do this if my website is on a network drive?
My website does not have a wwwroot page, does that matter?
I read IIS and Dreamweaver help files today and still
couldn't figure this out. Thanks for the help.
Po
Also - I tried to copy the installation of the software on
his computer but it doesn't work. I think he changed stuff and IIS
isn't even there.Is the site using ASP? Or ASP.NET?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"powlaz" <[email protected]> wrote in
message
news:f97n0v$p1p$[email protected]..
> The guy who developed our website recently disappeared
leaving me with the
> responsibility of making the minor changes we needt to
make. I only think
> this
> is relevant because I really have no business doing this
and I'm hoping
> that
> you all will help me through my issue and not tell me to
hire a
> professional.
>
> Anyway I installed Dreamweaver and IIS on my XP Pro
machine. I set up the
> remote server and downloaded (Get) the entire site onto
a network drive.
> I set
> the Local root folder to the location that I downloaded
the site. I set
> the
> Testing Server folder to the same location. Given my
experience I thought
> I
> would change/test in the local copy of the site and then
Put the changes
> up for
> the world to see.
>
> The URL Prefix for my Testing Server is:
http://localhost/.
>
> When I try to preview my changes I get a page can not be
found error. I
> believe this is because the local copy of my website is
not in the
> C:\Inetpub
> folder. Do I have to move it?
>
> Do I have to set up a Virtual Directory in IIS? Is it
right that I can't
> do
> this if my website is on a network drive?
> My website does not have a wwwroot page, does that
matter?
>
> I read IIS and Dreamweaver help files today and still
couldn't figure this
> out. Thanks for the help.
>
> Po
>
> Also - I tried to copy the installation of the software
on his computer
> but it
> doesn't work. I think he changed stuff and IIS isn't
even
> there.
> -
How do you set up a Testing Server?
My Local and Remote settings have been working fine for years but
now I have the need to set up a Testing Server and I'm not sure
what to enter in the fields when editing my site. Attached are
my settings for Local, Remote and Testing. When I published to
the Testing Server this morning overwrote the Remote Server
and had to ask fat cow to restore my original site. Please advise.
Thanks.Your website is at http://bigcowmusic.com/. You want to use http://bigcowmusic.com/testing/ as your testing server.
Create a folder called testing in your site root.
In the Testing Server category of your site definition, set Host directory to point at the testing folder. Since you left that field blank before, it suggests that leaving it blank points to the site root. So enter "testing/" (without the quotes) into that field.
Set the URL prefix for the testing server to http://bigcowmusic.com/testing/.
To test that it's working, create a file in the testing folder, and make sure that you give it a name that doesn't already exist in your site (this will avoid overwriting a live page if anything goes wrong). Test it within Dreamweaver. Then go to your live site, and see if the page exists in the testing folder. If it is, you're set to go. -
Dreamweaver 6. I can't reference root folder on test server - any ideas please?
Dreamweaver 6. I've set up a copy of a site onto a test server. All fine other than a problem with links to the root folder.
The web URL for test server is set up as http://localhost:8080/bhtownsite/ but when I set up a link to the site root e.g. /photos/pictures.php, instead of going to http://localhost:8080/bhtownsite/ the system ignores the 'bhtownsite' folder and goes to http://localhost/photos/pictures.php which of course doesn't exist!!
I've no hair left to pull - any suggestion would be greatly appreciated.
Thanks@Murray,
I don't have a Root Directory field in my Testing Server definition (CS6 12.2).
Server name: Testing Server
Connect using: Local/Network
Server folder: C:\wamp\www\MySiteName\
Web URL: http://localhost/MySiteName/
Is that something new in CC?
Nancy O. -
My company changed the default wsman URL Prefix for Winrm. As a consequence, we cannot access file shares on Failover Clustering. We get Event Error codes 142 and 49 under the Windows Remote Management Event logs. Changing the URL Prefix back to
wsman resolves our issue. Is there a way to resolve this issue keeping our changed URL Prefix?Hi Jeffreyw1,
Based on the description of your cases, you wanted to change the default wsman URL Prefix for Winrm. After discussion with escalate engineer i got we
had better use the default settings for it. Changing it is not supported.
More information:
Installation and Configuration for Windows Remote Management
https://msdn.microsoft.com/en-us/library/aa384372(v=vs.85).aspx
Best Regards,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Trying to make my computer a testing server
I installed the package XAMPP I successfully. I think it's
running because I got a message that said so. Anyway, I have some
php files that I want to test on my computer, but it doesn't seem
to be working. Whenever I go to "preview in browser" for my
Dreamweaver PHP file, I am taken to the site below. This has
happened before. I don't know this site. Where did it come from? I
hope someone can explain to me why this happens. Any advice will be
appreciated. Thank you.
http://www.moddingzone.com/news/?m=view&id=483
Also, I really need pointers on how to setup the
configuration for the Testing Server in Dreamweaver MX. Thank you,
thank you.Do you have David Powers' book "Foundation PHP for
Dreamweaver 8"? He gives
explicit instructions in there for how to get things going
with Macs. (*and
he warns not to use XAMPP*)
What do you get when you browse to
http://localhost?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"L*M" <[email protected]> wrote in message
news:ehif4g$l6e$[email protected]..
> Mac OS X 10.3.9
>
> Whenever I startup XAMPP, I get this:
>
> Starting XAMPP for MacOSX 0.5 ...
> XAMPP: Starting Apache with SSL (and PHP4) ...
> XAMPP: Starting MySQL ...
> XAMPP: Starting ProFTPD ...
> XAMPP for MacOS X started.
>
> I dunno ? I think maybe my configuration in Dreamweaver
may be wrong. The
> one
> for Testing Server.
>
> Hope you can help. Thanks.
> -
URL Prefix in a reverse proxy scenario
Hi,
we actually have a problem with url-generation in our reverse proxy scenario.
We configured our reverse proxy (apache; not a web dispatcher) to map an url from
> http://external-host/url-prefix/irj/portal
to
> http://internal-host:50000/irj/portal
Our problem is that the html portal logon page generates absolute urls to resources like http://external-host/com.sap.portal.epcf.loader/... As you can see it is dropping the url-prefix. So our pages are not displayed properly and forms cannot be submitted.
Is there a way to tell the url generator to put a prefix into each generated absolute url?
We have SAP Netweaver Portal 7.31
thanks & regards,
Christian BuschmannSamuli Kaski wrote:
Anything is possible. A recommended configuration would be for you to setup DNS aliases for all of your applications (SAP Portal, Ruby, etc.). That way you can have virtual host specific reverse proxy mappings. Believe me, it will pay off.
Yeah, that's what we have done on other sites. But it has the drawback that you have to get seperate ssl-certificates (extended validation) for each domain or have to update the existing ssl-certificate with additional dns-aliases.
So we tried on this site to sepearte each application by url-prefixes. So each application is covered by the same certificate.
Having a non-standard configuration means you will have to implement tweaks here and there not to mention how painful it is to maintain such a configuration.
Still, if you want to try it out try the following configuration
<Directory /app2>
ProxyPass /app2/ htp://portalhost/
ProxyPassReverse /app2/ http://portalhost/
</Directory>
Apache will use URL prefix /app2 for any URL generated by AS JAVA. That said, you will run into problems eventually since URLs get generated in so many ways, including URLs within HTTP responses which Apache will not change.
That's our problem now. Apache does map the url from http-request but the http-response-content from sap-portal is untouched. So absolute links within html pages generated by sap-portal are pointing to the wrong path. Protocol, host and port are correct but the path is missing the url-prefix.
So i don't want our apache to correct the links and rather want sap-portal to produce correct links. It's working fine with protocol, host and port for urls, but i can't set an url-prefix for the path-component.
So my hope is that you can make the url generator from sap portal aware of our url-prefix (maybe depending of virtual host, or by setting a field in http-request) like it's aware of incoming protocol, host and port. So that every generated link will get an url-prefix for it's path component.
Maybe you are looking for
-
Need to add a simple logo / overview of brand to page (newbie)
Hi there - I am trying to add a new logo / overview for a company on the Partnerships page of http://cornerstonebuilding.com/ but I can't figure out how to do that in code or in design mode. Any guidance would be greatly appreciated.
-
How the system picks BED,SED and CESS
Hi Gurus, I want to know how the system picks the BED,SED and CESS while doing the J1IIN. Actuvally i maintained the condition records in VK11. But upto Billing document all the excise duties are coming right. But in J1IIN these values are not comin
-
Instance '/Process_AssignTasks#Default-1.0/71/0' could not be selected in activity 'GetAllTasksAssignedToUser'. Details: Instance '/Process_AssignTasks#Default-1.0/71/0' could not be locked because participant 'Server' is currently locking it. fuego.
-
Serial Number Recovery Methods
This thread is a place to discuss different methods for recovering hard to read or tampered with serial numbers without opening Mac OS X's About This Mac page, such as when hardware problems prevent booting, or Mac OS X is not installed. My story:
-
Hi Guys, I am trying to upload an SAP Script from a .txt file which was downloaded previously from another system. That system is no more available for me so this is the only way fro me to access this SAP script. My query is that every time i try to