Page 2 of 3

PostPosted: 20. March 2008 11:13
by Milligan

PostPosted: 20. March 2008 11:28
by Milligan

PostPosted: 20. March 2008 11:30
by Milligan

PostPosted: 20. March 2008 11:32
by Milligan

PostPosted: 20. March 2008 11:36
by sari42
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"

PostPosted: 20. March 2008 11:39
by Milligan

PostPosted: 20. March 2008 12:02
by sari42
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.

PostPosted: 20. March 2008 12:11
by Milligan

PostPosted: 20. March 2008 12:13
by sari42
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

PostPosted: 20. March 2008 12:13
by Joe_Austin
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.

PostPosted: 20. March 2008 12:20
by Joe_Austin
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?

PostPosted: 20. March 2008 12:23
by Milligan

PostPosted: 20. March 2008 12:31
by Milligan

PostPosted: 20. March 2008 12:32
by Joe_Austin
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.

PostPosted: 20. March 2008 12:39
by Milligan