what is happening ?

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

what is happening ?

Postby sa3bin » 29. March 2006 01:04

:D
Last edited by sa3bin on 20. March 2008 19:27, edited 1 time in total.
sa3bin
 
Posts: 59
Joined: 28. December 2005 04:04

Postby cj_nza » 29. March 2006 01:43

in your URL

You ask for a resource on host sa3bin.zapto.org, but in your Apache setup you tell Apache that it only needs to deal with a virtual host called "localhost". It doesn't know what to do with a name based request for sa3bin.zapto.org

Change the name of you server to the name that you want Apache to handle eg sa3bin.zapto.org
cj_nza
 
Posts: 53
Joined: 06. September 2005 11:49

ok, did that

Postby sa3bin » 29. March 2006 01:52

:D
Last edited by sa3bin on 20. March 2008 19:27, edited 1 time in total.
sa3bin
 
Posts: 59
Joined: 28. December 2005 04:04

Postby Wiedmann » 29. March 2006 01:53

cj_nza wrote:Change the name of you server to the name that you want Apache to handle eg sa3bin.zapto.org

That's not the problem, because it's the only and first VHost and so the default server that catch all 'unknown' requests.

sa3bin wrote:DocumentRoot C:/xampp/www/sa3bin/

You need a "<Directory>" block with an "allow" directive for this directory also.

BTW:
You should add the port to the ServerName.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

excuse me

Postby sa3bin » 29. March 2006 01:57

:D
Last edited by sa3bin on 20. March 2008 19:44, edited 1 time in total.
sa3bin
 
Posts: 59
Joined: 28. December 2005 04:04

keep localhost then

Postby sa3bin » 29. March 2006 01:59

:D
Last edited by sa3bin on 20. March 2008 19:45, edited 1 time in total.
sa3bin
 
Posts: 59
Joined: 28. December 2005 04:04

Postby Wiedmann » 29. March 2006 02:02

First one question:
Why did you setup a VHost?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

uhm

Postby sa3bin » 29. March 2006 02:04

lol, because i was told to in a forum? from here i believe?? http://xampptutorials.com/news.php
sa3bin
 
Posts: 59
Joined: 28. December 2005 04:04

Postby Wiedmann » 29. March 2006 02:07

because i was told to in a forum?

I don't kwnow what they told you...

The question is:
What do you want? (Is there really a need for a VHost)?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

?

Postby sa3bin » 29. March 2006 02:31

:D
Last edited by sa3bin on 20. March 2008 19:52, edited 1 time in total.
sa3bin
 
Posts: 59
Joined: 28. December 2005 04:04

hello

Postby sa3bin » 29. March 2006 05:28

:D
Last edited by sa3bin on 20. March 2008 19:53, edited 1 time in total.
sa3bin
 
Posts: 59
Joined: 28. December 2005 04:04

Postby WorldDrknss » 29. March 2006 09:08

Create the following Folders in C:/xampp/www/sa3bin:
logs
error
cgi-bin
error_pages
Create the following files in C:/xampp/www/sa3bin:
.htaccess

in your httpd-vhosts.conf replace your old virtualhost with this one:

<VirtualHost *:80>
ServerName sa3bin.zapto.org
ServerAdmin sa3bin@sa3bin.zapto.org
ServerAlias www.sa3bin.zapto.org
DocumentRoot /xampp/www/sa3bin
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/xampp/www/sa3bin">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory "/xampp/www/sa3bin">
Options Includes
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddHandler server-parsed .html .htm .shtml .shtm
</Directory>
HostnameLookups Off
ErrorLog /xampp/www/sa3bin/logs/error_log.txt
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog /xampp/www/sa3bin/logs/access_log.txt combined
ServerSignature On
ScriptAlias /cgi-bin/ "/xampp/www/sa3bin/cgi-bin/"
<Directory "/xampp/www/sa3bin/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
DirectoryIndex index.php index.html index.htm index.shtml index.shtm
ErrorDocument 400 /error_pages/400.html
ErrorDocument 403 /error_pages/403.html
ErrorDocument 404 /error_pages/404.html
AccessFileName .htaccess
AddHandler cgi-script .cgi
<IfModule mod_negotiation.so>
<IfModule mod_include.so>
Alias /error/ "/xampp/www/sa3bin/error/"
<Directory "/xampp/www/sa3bin/error">
AllowOverride None
Options IncludesNoExec
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en
</Directory>
</IfModule>
</IfModule>
</VirtualHost>

<VirtualHost *:80>
ServerName localhost
DocumentRoot /xampp/htdocs
</VirtualHost>

http://xampptutorials.com
User avatar
WorldDrknss
 
Posts: 292
Joined: 17. September 2005 13:40

did that

Postby sa3bin » 29. March 2006 11:29

:D
Last edited by sa3bin on 20. March 2008 19:54, edited 1 time in total.
sa3bin
 
Posts: 59
Joined: 28. December 2005 04:04

Postby Wiedmann » 29. March 2006 11:40

need a place to host sa3bin.com ! is what i need.isnt there a need for Vhost????

You want serv only one website?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

FOR NOW YES !

Postby sa3bin » 29. March 2006 11:42

:D
Last edited by sa3bin on 20. March 2008 19:54, edited 1 time in total.
sa3bin
 
Posts: 59
Joined: 28. December 2005 04:04

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 56 guests