cgi on local windows and remote linux

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Postby Milligan » 20. March 2008 11:13

Last edited by Milligan on 17. July 2008 05:18, edited 1 time in total.
Milligan
 
Posts: 136
Joined: 03. March 2008 06:23

Postby Milligan » 20. March 2008 11:28

Last edited by Milligan on 17. July 2008 05:18, edited 1 time in total.
Milligan
 
Posts: 136
Joined: 03. March 2008 06:23

Postby Milligan » 20. March 2008 11:30

Last edited by Milligan on 17. July 2008 05:20, edited 1 time in total.
Milligan
 
Posts: 136
Joined: 03. March 2008 06:23

Postby Milligan » 20. March 2008 11:32

Last edited by Milligan on 17. July 2008 05:20, edited 1 time in total.
Milligan
 
Posts: 136
Joined: 03. March 2008 06:23

Postby sari42 » 20. March 2008 11:36

Milligan wrote:
sari42 wrote:
Milligan wrote:
Sari42 wrote:'http://JoeAustinPhotography' or 'http://JoeAustinPhotography/about.htm'
in the browser

That didn't work for me, and I tested my reply details before posting, just tries to load the xampp folder and I did explain why this happens and how to fix it, had you read all the posts in full.

but that is how the "hosts" file works ...
I know that, and thats why I posted the link to the post that gives the details why I know how it works, obviously another post you did not read, did you?

Please take the time to read all this thread, and the links people go to the trouble of including, so you can be more informed and your post will then reflect this.

BTW the button to upload your post is called 'Submit' not 'Send'.
no, FYI, it's "Absenden"
sari42
 
Posts: 800
Joined: 27. November 2005 18:28

Postby Milligan » 20. March 2008 11:39

Last edited by Milligan on 17. July 2008 05:21, edited 1 time in total.
Milligan
 
Posts: 136
Joined: 03. March 2008 06:23

Postby sari42 » 20. March 2008 12:02

Milligan wrote:
no, FYI, it's "Absenden"
Not so in the English language forums, where you are now.

senden = send
absenden = dispatch
eingeben = submit

And all mean read the thread before posting.

instead of making a fuss about how the button is called (on my screen it is "Absenden") you better should stop spreading false informations like
http://localhost/JoeAustinPhotography
will give you the error you have now as localhost is pointing to the ServerName localhost:80 and the DocumentRoot "X:/xampp/htdocs" folder.

To change this behaviour you have to use the Windows hosts file to have 127.0.0.1 point to your JoeAustinPhotography folder when called in your browser. The server will then use the defined Alias to locate the folder with your JoeAustinPhotography site's index file.


p.s.
eingeben != submit

___________________

@Joe:
maybe your alias doesn't work because of funny quotes:
Alias /JoeAustinPhotography “E:/Sites/JoeAustinPhotography”
Always use a plain text editor for editing config files.
Last edited by sari42 on 20. March 2008 12:12, edited 1 time in total.
sari42
 
Posts: 800
Joined: 27. November 2005 18:28

Postby Milligan » 20. March 2008 12:11

Last edited by Milligan on 17. July 2008 05:22, edited 2 times in total.
Milligan
 
Posts: 136
Joined: 03. March 2008 06:23

Postby sari42 » 20. March 2008 12:13

Milligan wrote:your browser shows up odd quotation marks but that may be down to his browser or keyboeard

all other double quotes show up correctly in that post of Joe!

Milligan wrote:go and play elsewhere

hear hear
Last edited by sari42 on 20. March 2008 12:22, edited 1 time in total.
sari42
 
Posts: 800
Joined: 27. November 2005 18:28

Postby Joe_Austin » 20. March 2008 12:13

Just out of curiousity, and with the additional line still in the host file, I decided to try

http://JoeAustinPhotography

in my browser. It brought me to

http://JoeAustinPhotography/xampp/

and displayed the xampp welcome page. Using 'http://localhost' in the browser brought me to 'http://localhost/xamp' displaying the same page and producing the same access log entries.


As for the alias problem , is it possible that I need to change this section?:

Code: Select all
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "E:/xampp/htdocs"


This seems to be where my http calls go in spite of the alias.
Joe_Austin
 
Posts: 21
Joined: 14. March 2008 21:55

Postby Joe_Austin » 20. March 2008 12:20

I tried commenting out the document root line in the conf file and then going to http://localhost/JoeAustinPhotography but it produced:

[Thu Mar 20 07:15:49 2008] [error] [client 127.0.0.1] client denied by server configuration: E:/apache


On a side note, I also get this error message each time I start apache

[Thu Mar 20 07:15:27 2008] [warn] pid file E:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
Joe_Austin
 
Posts: 21
Joined: 14. March 2008 21:55

Postby Milligan » 20. March 2008 12:23

Last edited by Milligan on 17. July 2008 05:23, edited 1 time in total.
Milligan
 
Posts: 136
Joined: 03. March 2008 06:23

Postby Milligan » 20. March 2008 12:31

Last edited by Milligan on 17. July 2008 05:24, edited 1 time in total.
Milligan
 
Posts: 136
Joined: 03. March 2008 06:23

Postby Joe_Austin » 20. March 2008 12:32

Well, I could move the site to /htdocs, but I would still need to get script-alias to work so I could use my cgi scripts from my /cgi-bin/ in my site folder (where they will be on my remote server). Otherwise I will have to change the script references each time I upload my pages.
Joe_Austin
 
Posts: 21
Joined: 14. March 2008 21:55

Postby Milligan » 20. March 2008 12:39

Last edited by Milligan on 17. July 2008 05:25, edited 2 times in total.
Milligan
 
Posts: 136
Joined: 03. March 2008 06:23

PreviousNext

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 145 guests