summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/modules/ipxe/controllers/AuthController.php2
-rw-r--r--public/.htaccess2
2 files changed, 3 insertions, 1 deletions
diff --git a/application/modules/ipxe/controllers/AuthController.php b/application/modules/ipxe/controllers/AuthController.php
index 36e6d53..ac375a9 100644
--- a/application/modules/ipxe/controllers/AuthController.php
+++ b/application/modules/ipxe/controllers/AuthController.php
@@ -73,7 +73,7 @@ class Ipxe_AuthController extends Zend_Controller_Action
$result .= "login\n";
$result .= "kernel http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenu/alpha/".$session->getAlphasessionID()." http://\${username:uristring}:\${password:uristring}@".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID()."/login/true\n";
}else{
- $result .= "kernel http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenu/alpha/".$session->getAlphasessionID();
+ $result .= "kernel http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenu/alpha/".$session->getAlphasessionID()."\n";
$result .= "initrd http://".$_SERVER['HTTP_HOST']."/ipxe/resource/getvesamenuconfig/alpha/".$session->getAlphasessionID()."/login/false\n";
}
diff --git a/public/.htaccess b/public/.htaccess
index a0f45c7..24bd55d 100644
--- a/public/.htaccess
+++ b/public/.htaccess
@@ -6,6 +6,8 @@ Allow from 192.168.0.0/255.255.0.0
RewriteEngine On
RewriteRule ^c/(.*)/default.tgz$ /resource/getconfig/alpha/$1/file/default.tgz [L,R=301]
+RewriteRule ^ipxe$ /ipxe/auth/serial/serialnumber/55-44-33-22-11/mac/123 [L,R=301]
+
RewriteRule ^dev(.*)$ /user [L,R=301]