• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Basic Authentication an live view

New Here ,
May 24, 2021 May 24, 2021

Copy link to clipboard

Copied

Hi community.

I've a problem 😞

To develope web page, normally i use a staging server protected form basic authentication.

How can use dreamweaver live preview?

 

If i try to preview page, obtain this message:
Unauthorized

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

 

Anyone can help me?

Thank you.

TOPICS
How to , Preview

Views

439

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 24, 2021 May 24, 2021

Copy link to clipboard

Copied

Define your site -- Site > New Site or Manage Sites.

Create two remote server connections, one to your test server and one for your remote server.

 

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 24, 2021 May 24, 2021

Copy link to clipboard

Copied

Off course, but... this is not the problem.

😉

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 24, 2021 May 24, 2021

Copy link to clipboard

Copied

If you are using authentication to preview a URL you used to be able to do things like this: http://username:password@example.com/ . However, that functionality was removed from browsers a long time ago.  Have you considered using a VPN or other secure connection to access your server instead of basic auth?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 24, 2021 May 24, 2021

Copy link to clipboard

Copied

did you donwload your remote web site to a local folder on your computer ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 24, 2021 May 24, 2021

Copy link to clipboard

Copied

Hi Birnou, yes, i did download.

I need to test the web site in a protection folder.

https://cwiki.apache.org/confluence/display/HTTPD/PasswordBasicAuth

 

How can use Dreamweaver CC? This is not possible?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 24, 2021 May 24, 2021

Copy link to clipboard

Copied

Sorry, I don't understand your workflow or what your problem is.

  • You upload scripts and documents to a remote staging server, right?
  • From your browser, you go to the staging server's URL and log-in with a username & password to test the site, right?
  • What has any of this have to do with Dreamweaver's Live/Design view which is not a browser?
  • Or if I don't get this right, please elaborate.

 

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 24, 2021 May 24, 2021

Copy link to clipboard

Copied

LATEST

Or perhaps you're not asking about Live/Design view and are instead referring to Real-Time Preview.

In that case, go to Preferences and set Default to Static Browser Preview.  See screenshot.

 

Preferences > Real-Time PreviewPreferences > Real-Time Preview

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 24, 2021 May 24, 2021

Copy link to clipboard

Copied

so I suppose that in the local testing file that you get the problem.

in your .htaccess file what kind of path are you using

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines