I am new to all this so, sorry for the questions...
This site is on a shared server and I don't have access to the configuration files (as far as i know)...
I tried making my own .HTACCESS file saved within the same directory that the SHTML files i am running are in...
I tried a few differnt...
I have the following line within a CGI file:
<form method="POST" action="login-providers.shtml">
When i click the SUBMIT button, i get error "HTTP 405" which means that the POST method is not allowed for SHTML files.
How do i setup the server to allow shtml files to accept the POST method...
I have been working with a SHTML page that has a command like this:
<!--#set var="SOMETHING" value="AVALUE"-->
For some reason the VAR SOMETHING isn't storing AVALUE.
(regardless of what i set/name them as).
In other words, if i was to do the following
<!--#set var="SOMETHING"...
What exactly does the .htaccess file do?
Where do i need to have it?
Could this be a problem?
I have seen several forums where people have had similar problems as i do and many of them point to that file.
Thanks
Chris,
Thanks for the code.
Yes, i am sure you code would work flawlessly.
The situation is that i bought a CGI program from a company and there are about 20 CGI files included with it. I have only begun to put together my site and i know that what i want to do will come up a lot.
I guess i...
I don't have anywhere else to test the code.
I really don't think formating matters (at least on my server) because i have tried all kinds of formating and, the SSI either works or doesn't work regardless of formating.
I would be happy to email someone the code if they want to try it one their...
Yes, i tried that in the past.
Here is an example:
<!-- Begin SSI -->
<!--#include virtual="/cgi-bin/search.cgi?${QUERY_STRING}"-->
<!-- Middle SSI -->
<!--#exec cgi="/cgi-bin/search.cgi?${QUERY_STRING}"-->
<!-- End SSI -->
The output is
<!-- Begin SSI -->
(output 404 error here) - I have...
I noticed that in this thread, within the #SET VAR line, i used VALUE instead of VAL. Either way, in the past i have been using only val and it didn't work.
I added a test line in the code.
Here is the original source:
<!-- Begin SSI -->
<!--#SET VAR="body"...
That doesn't make a difference. I have tried every possible type of formating.
Anyways, i changed it just for the fun of it.
Here is a snipped of what the original code looks like:
<!-- Begin SSI -->
<!--#set var="body" value="/cgi-bin/search.cgi?${QUERY_STRING}"-->
<!--#include...
Feherke,
Here is something odd that i noticed.
When i go to VIEW/SOURCE under IE, i notice that the following line
<!-- #set var="body" value="/cgi-bin/search.cgi?${QUERY_STRING}"-->
can be seen within the SHTML file. However, the other line <!--#include virtual="${body}" --> is not seen...
I am writing in regards to a similar post made on http://lists.evolt.org/archive/Week-of-Mon-20050124/168328.html
I have been trying to find out (for the past 12 hours) how to do what you are explaining in the above link.
Right now I have the following:
<!--#set var="body"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.