I am trying to set up elgg 1.7.10 on Windows XP SP3, using Apache 2.2 and PHP 5.2.5.
I have change the .htaccess file to uncomment RewriteBase /elgg/
This is a smaple of the code generated by register.php
<script type="text/javascript" src="http://127.0.0.1/E:/elgg-1.7.10/vendors/jquery/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="http://127.0.0.1/E:/elgg-1.7.10/vendors/jquery/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="http://127.0.0.1/E:/elgg-1.7.10/vendors/jquery/jquery.form.js"></script> <script type="text/javascript" src="http://127.0.0.1/E:/elgg-1.7.10/_css/js.php?lastcache=1313312823&js=initialise_elgg&viewtype=default"></script> <!-- include the default css file --> <link rel="stylesheet" href="http://127.0.0.1/E:/elgg-1.7.10/_css/css.css?lastcache=1313312823&viewtype=default" type="text/css" />
This leads to a permission failure message on the browser on clicking register and
access log e
127.0.0.1 - - [14/Aug/2011:12:51:27 +0100] "POST /E:/elgg-1.7.10/action/register HTTP/1.1" 403 232
and error log entries including
Sun Aug 14 12:51:27 2011] [error] [client 127.0.0.1] (20023)The given path was above the root path: Cannot map POST /E:/elgg-1.7.10/action/register HTTP/1.1 to file, referer: http://127.0.0.1/elgg/account/register.php
Thanks in advance
Barryb
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- barryb@byrnebarry
barryb - 0 likes
- DhrupDeScoop@Dhrup2000
DhrupDeScoop - 0 likes
- barryb@byrnebarry
barryb - 0 likes
You must log in to post replies.The problem could srping from the automatically generated entries in the System Settings form.
The line "The site URL"
had the windows path name in it after http://127.0.0.1/
BarryB
the path 127.0.0.1/E:/elgg-1.7.10/action/register
is almost correct operationals
reckon it should have said 127.0.0.1/elgg-1.7.10/action/register
"Cannot map POST /E:/elgg-1.7.10/action/register "
true -- reason as above
"change the .htaccess file to uncomment RewriteBase /elgg/ "
was most likely part of the situation/ correction
"the automatically generated entries in the System Settings for "
that would be using your input from intall-time, not exactly automatic
I had changed the .htaccess to uncomment RewriteBase /elgg/
before reporting the error. I suspect that is due, in some way, to installing on my PC and using the 127.0.0.1 address, because when I had finished negotiating with the Hosting service and installed it live, it worked straightaway.
I got it to work on my PC by manually editing the settings page.