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
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
there is no issue with leaving the redirect empty on https pages.
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
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.
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.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.