close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

https Pages

Thread began 9/16/2010 12:47 am by Cologne | Last modified 9/18/2010 6:49 am by Cologne | 967 views | 4 replies |

Cologne

https Pages

Hi,

normally I leave the redirect field in the server validation empty. But this does not work with HTTPS pages, right?
Do I always have to put the whole path into the field?

Cheeres
Denis

Sign in to reply to this post

Jason ByrnesWebAssist

there is no issue with leaving the redirect empty on https pages.

Sign in to reply to this post

Cologne

Hi Jason,

this is the page where the validation is on:

vt.php

<?php require_once("WA_ValidationToolkit/WAVT_Scripts_PHP.php"); ?>
<?php require_once("WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php"); ?>
<?php
if (isset($_POST["button"])) {
$WAFV_Redirect = "";
$_SESSION['WAVT_vt_142_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateEM(((isset($_POST["email"]))?$_POST["email"]:"") . "",true,1);

if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"vt_142");
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unbenanntes Dokument</title>
</head>

<body><?php echo $_SERVER["PHP_SELF"]; ?>
<form id="form1" method="post" action="">

<?php
if (ValidatedField('vt_142','vt_142')) {
if ((strpos((",".ValidatedField("vt_142","vt_142").","), "," . "1" . ",") !== false || "1" == "")) {
if (!(false)) {
?>
<p>This is no email-address!</p>
<?php //WAFV_Conditional vt.php vt_142(1:)
}
}
}?>
<label for="email">Email:</label>
<input type="text" name="email" id="email" />
<input type="submit" name="button" id="button" value="send" />
</form>
</body>
</html>



I leave the redirection blank and it shows a file not found error.

Is it because the www.ssl-id.de/ ?

This is the way I can use https on my server. in my htaccess I need to rewrite like:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^ichbinmusiker\.de$ [OR]
RewriteCond %{HTTP_HOST} ^www\.ichbinmusiker\.de$
RewriteRule ^(.*) https://www.ssl-id.de/ichbinmusiker.de/$1 [R=301,L]



In dreamweaver I said that ichbinmusiker.de/ is the root.

Any suggestions?

Denis

Sign in to reply to this post

Jason ByrnesWebAssist

It looks like the $_SERVER["HTTP_HOST"] variable may be set incorrectly on the https server. In this case would use the full address for the redirect.

Sign in to reply to this post

Cologne

The strange thing is, that in the other redirections like in UE4, DA it doesnt matter and I just select the file I want to got to.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...