Another httpd.conf File

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

Postby geekmaster » 16. December 2007 04:55

Can someone translate this?
Code: Select all
resuming normal operations
[Thu Dec 13 16:26:22 2007] [notice] Server built: Sep 21 2007 00:29:38
[Thu Dec 13 16:26:22 2007] [notice] Parent: Created child process 2756
[Thu Dec 13 16:26:24 2007] [notice] Child 2756: Child process is running
[Thu Dec 13 16:26:24 2007] [notice] Child 2756: Acquired the start mutex.
[Thu Dec 13 16:26:24 2007] [notice] Child 2756: Starting 250 worker threads.
[Thu Dec 13 16:26:24 2007] [notice] Child 2756: Starting thread to listen on port 80.
[Thu Dec 13 16:26:24 2007] [notice] Child 2756: Starting thread to listen on port 443.
[Thu Dec 13 16:41:10 2007] [warn] pid file D:/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Dec 13 16:41:13 2007] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
[Thu Dec 13 16:41:13 2007] [notice] Server built: Sep 21 2007 00:29:38
[Thu Dec 13 16:41:13 2007] [notice] Parent: Created child process 2620
[Thu Dec 13 16:41:14 2007] [notice] Child 2620: Child process is running
[Thu Dec 13 16:41:14 2007] [notice] Child 2620: Acquired the start mutex.
[Thu Dec 13 16:41:14 2007] [notice] Child 2620: Starting 250 worker threads.
[Thu Dec 13 16:41:14 2007] [notice] Child 2620: Starting thread to listen on port 443.
[Thu Dec 13 16:41:14 2007] [notice] Child 2620: Starting thread to listen on port 80.
[Thu Dec 13 21:38:06 2007] [error] [client 74.6.28.231] File does not exist: D:/server/htdocs/robots.txt
[Thu Dec 13 23:33:36 2007] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Dec 13 23:33:36 2007] [notice] Child 2620: Exit event signaled. Child process is ending.
[Thu Dec 13 23:33:37 2007] [notice] Child 2620: Released the start mutex
[Thu Dec 13 23:33:39 2007] [notice] Child 2620: Waiting for 250 worker threads to exit.
[Thu Dec 13 23:33:39 2007] [notice] Child 2620: All worker threads have exited.
[Thu Dec 13 23:33:41 2007] [notice] Child 2620: Child process is exiting
[Thu Dec 13 23:33:53 2007] [notice] Parent: Child process exited successfully.
[Fri Dec 14 00:04:52 2007] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
[Fri Dec 14 00:04:52 2007] [notice] Server built: Sep 21 2007 00:29:38
[Fri Dec 14 00:04:52 2007] [notice] Parent: Created child process 3044
[Fri Dec 14 00:04:54 2007] [notice] Child 3044: Child process is running
[Fri Dec 14 00:04:54 2007] [notice] Child 3044: Acquired the start mutex.
[Fri Dec 14 00:04:54 2007] [notice] Child 3044: Starting 250 worker threads.
[Fri Dec 14 00:04:54 2007] [notice] Child 3044: Starting thread to listen on port 443.
[Fri Dec 14 00:04:54 2007] [notice] Child 3044: Starting thread to listen on port 80.
[Fri Dec 14 02:13:19 2007] [warn] pid file D:/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Dec 14 02:13:22 2007] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
[Fri Dec 14 02:13:22 2007] [notice] Server built: Sep 21 2007 00:29:38
[Fri Dec 14 02:13:22 2007] [notice] Parent: Created child process 2720
[Fri Dec 14 02:13:23 2007] [notice] Child 2720: Child process is running
[Fri Dec 14 02:13:23 2007] [notice] Child 2720: Acquired the start mutex.
[Fri Dec 14 02:13:23 2007] [notice] Child 2720: Starting 250 worker threads.
[Fri Dec 14 02:13:23 2007] [notice] Child 2720: Starting thread to listen on port 443.
[Fri Dec 14 02:13:23 2007] [notice] Child 2720: Starting thread to listen on port 80.
[Fri Dec 14 02:25:21 2007] [warn] pid file D:/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Dec 14 02:25:24 2007] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
[Fri Dec 14 02:25:24 2007] [notice] Server built: Sep 21 2007 00:29:38
[Fri Dec 14 02:25:24 2007] [notice] Parent: Created child process 2476
[Fri Dec 14 02:25:26 2007] [notice] Child 2476: Child process is running
[Fri Dec 14 02:25:26 2007] [notice] Child 2476: Acquired the start mutex.
[Fri Dec 14 02:25:26 2007] [notice] Child 2476: Starting 250 worker threads.
[Fri Dec 14 02:25:26 2007] [notice] Child 2476: Starting thread to listen on port 80.
[Fri Dec 14 02:25:26 2007] [notice] Child 2476: Starting thread to listen on port 443.
[Fri Dec 14 02:35:47 2007] [warn] pid file D:/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Dec 14 02:35:56 2007] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
[Fri Dec 14 02:35:56 2007] [notice] Server built: Sep 21 2007 00:29:38
[Fri Dec 14 02:35:56 2007] [notice] Parent: Created child process 1740
[Fri Dec 14 02:35:58 2007] [notice] Child 1740: Child process is running
[Fri Dec 14 02:35:58 2007] [notice] Child 1740: Acquired the start mutex.
[Fri Dec 14 02:35:58 2007] [notice] Child 1740: Starting 250 worker threads.
[Fri Dec 14 02:35:58 2007] [notice] Child 1740: Starting thread to listen on port 80.
[Fri Dec 14 02:35:58 2007] [notice] Child 1740: Starting thread to listen on port 443.
[Fri Dec 14 02:39:11 2007] [warn] pid file D:/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Dec 14 02:39:15 2007] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
[Fri Dec 14 02:39:15 2007] [notice] Server built: Sep 21 2007 00:29:38
[Fri Dec 14 02:39:15 2007] [notice] Parent: Created child process 920
[Fri Dec 14 02:39:17 2007] [notice] Child 920: Child process is running
[Fri Dec 14 02:39:17 2007] [notice] Child 920: Acquired the start mutex.
[Fri Dec 14 02:39:17 2007] [notice] Child 920: Starting 250 worker threads.
[Fri Dec 14 02:39:17 2007] [notice] Child 920: Starting thread to listen on port 443.
[Fri Dec 14 02:39:17 2007] [notice] Child 920: Starting thread to listen on port 80.
[Fri Dec 14 02:53:38 2007] [warn] pid file D:/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Dec 14 02:53:40 2007] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
[Fri Dec 14 02:53:40 2007] [notice] Server built: Sep 21 2007 00:29:38
[Fri Dec 14 02:53:40 2007] [notice] Parent: Created child process 2276
[Fri Dec 14 02:53:42 2007] [notice] Child 2276: Child process is running
[Fri Dec 14 02:53:42 2007] [notice] Child 2276: Acquired the start mutex.
[Fri Dec 14 02:53:42 2007] [notice] Child 2276: Starting 250 worker threads.
[Fri Dec 14 02:53:42 2007] [notice] Child 2276: Starting thread to listen on port 443.
[Fri Dec 14 02:53:42 2007] [notice] Child 2276: Starting thread to listen on port 80.
[Fri Dec 14 04:45:48 2007] [warn] pid file D:/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Dec 14 04:45:50 2007] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
[Fri Dec 14 04:45:50 2007] [notice] Server built: Sep 21 2007 00:29:38
[Fri Dec 14 04:45:50 2007] [notice] Parent: Created child process 3752
[Fri Dec 14 04:45:53 2007] [notice] Child 3752: Child process is running
[Fri Dec 14 04:45:53 2007] [notice] Child 3752: Acquired the start mutex.
[Fri Dec 14 04:45:53 2007] [notice] Child 3752: Starting 250 worker threads.
[Fri Dec 14 04:45:53 2007] [notice] Child 3752: Starting thread to listen on port 80.
[Fri Dec 14 04:45:53 2007] [notice] Child 3752: Starting thread to listen on port 443.
[Fri Dec 14 06:27:44 2007] [warn] pid file D:/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Dec 14 06:27:47 2007] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
[Fri Dec 14 06:27:47 2007] [notice] Server built: Sep 21 2007 00:29:38
[Fri Dec 14 06:27:47 2007] [notice] Parent: Created child process 2096
[Fri Dec 14 06:27:48 2007] [notice] Child 2096: Child process is running
[Fri Dec 14 06:27:48 2007] [notice] Child 2096: Acquired the start mutex.
[Fri Dec 14 06:27:48 2007] [notice] Child 2096: Starting 250 worker threads.
[Fri Dec 14 06:27:48 2007] [notice] Child 2096: Starting thread to listen on port 80.
[Fri Dec 14 06:27:48 2007] [notice] Child 2096: Starting thread to listen on port 443.
[Fri Dec 14 06:45:24 2007] [warn] pid file D:/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Dec 14 06:45:28 2007] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
[Fri Dec 14 06:45:28 2007] [notice] Server built: Sep 21 2007 00:29:38
[Fri Dec 14 06:45:28 2007] [notice] Parent: Created child process 3668
[Fri Dec 14 06:45:30 2007] [notice] Child 3668: Child process is running
[Fri Dec 14 06:45:30 2007] [notice] Child 3668: Acquired the start mutex.
[Fri Dec 14 06:45:30 2007] [notice] Child 3668: Starting 250 worker threads.
[Fri Dec 14 06:45:30 2007] [notice] Child 3668: Starting thread to listen on port 80.
[Fri Dec 14 06:45:30 2007] [notice] Child 3668: Starting thread to listen on port 443.
[Fri Dec 14 07:51:41 2007] [warn] pid file D:/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Dec 14 07:51:44 2007] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
[Fri Dec 14 07:51:44 2007] [notice] Server built: Sep 21 2007 00:29:38
[Fri Dec 14 07:51:44 2007] [notice] Parent: Created child process 3048
[Fri Dec 14 07:51:45 2007] [notice] Child 3048: Child process is running
[Fri Dec 14 07:51:45 2007] [notice] Child 3048: Acquired the start mutex.
[Fri Dec 14 07:51:45 2007] [notice] Child 3048: Starting 250 worker threads.
[Fri Dec 14 07:51:45 2007] [notice] Child 3048: Starting thread to listen on port 80.
[Fri Dec 14 07:51:45 2007] [notice] Child 3048: Starting thread to listen on port 443.
[Fri Dec 14 07:57:51 2007] [warn] pid file D:/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Dec 14 07:57:53 2007] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
[Fri Dec 14 07:57:53 2007] [notice] Server built: Sep 21 2007 00:29:38
[Fri Dec 14 07:57:53 2007] [notice] Parent: Created child process 3652
[Fri Dec 14 07:57:54 2007] [notice] Child 3652: Child process is running
[Fri Dec 14 07:57:54 2007] [notice] Child 3652: Acquired the start mutex.
[Fri Dec 14 07:57:54 2007] [notice] Child 3652: Starting 250 worker threads.
[Fri Dec 14 07:57:54 2007] [notice] Child 3652: Starting thread to listen on port 443.
[Fri Dec 14 07:57:54 2007] [notice] Child 3652: Starting thread to listen on port 80.
[Fri Dec 14 22:27:11 2007] [warn] pid file D:/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Dec 14 22:27:14 2007] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
[Fri Dec 14 22:27:14 2007] [notice] Server built: Sep 21 2007 00:29:38
[Fri Dec 14 22:27:14 2007] [notice] Parent: Created child process 3712
[Fri Dec 14 22:27:16 2007] [notice] Child 3712: Child process is running
[Fri Dec 14 22:27:16 2007] [notice] Child 3712: Acquired the start mutex.
[Fri Dec 14 22:27:16 2007] [notice] Child 3712: Starting 250 worker threads.
[Fri Dec 14 22:27:16 2007] [notice] Child 3712: Starting thread to listen on port 443.
[Fri Dec 14 22:27:16 2007] [notice] Child 3712: Starting thread to listen on port 80.
[Sat Dec 15 21:29:37 2007] [warn] pid file D:/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Dec 15 21:29:44 2007] [notice] Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4 configured -- resuming normal operations
[Sat Dec 15 21:29:44 2007] [notice] Server built: Sep 21 2007 00:29:38
[Sat Dec 15 21:29:44 2007] [notice] Parent: Created child process 3824
[Sat Dec 15 21:29:47 2007] [notice] Child 3824: Child process is running
[Sat Dec 15 21:29:47 2007] [notice] Child 3824: Acquired the start mutex.
[Sat Dec 15 21:29:47 2007] [notice] Child 3824: Starting 250 worker threads.
[Sat Dec 15 21:29:47 2007] [notice] Child 3824: Starting thread to listen on port 80.
[Sat Dec 15 21:29:47 2007] [notice] Child 3824: Starting thread to listen on port 443.
geekmaster
 
Posts: 23
Joined: 13. December 2007 14:13

Postby KallistaAEnvarou » 16. December 2007 05:01

At least from that file, you can ignore all the notices, because they all look to me (though I'm just guessing because that seems to be the pattern for me) like all of them are telling you that Apache has started and is running fine. The first warning you can also ignore, but I don't know what it means. The error just means that something or someone tried to access your robots.txt page, but it doesn't exist. Other than that, you don't have any errors.

Now, do you have any other subdomains? Does your subdomain folder have a cgi-bin folder in it? How did you set up the subdomain?
KallistaAEnvarou
 
Posts: 126
Joined: 02. December 2007 17:33
Location: Cold Cold California

Postby geekmaster » 19. December 2007 16:25

KallistaAEnvarou wrote:At least from that file, you can ignore all the notices, because they all look to me (though I'm just guessing because that seems to be the pattern for me) like all of them are telling you that Apache has started and is running fine. The first warning you can also ignore, but I don't know what it means. The error just means that something or someone tried to access your robots.txt page, but it doesn't exist. Other than that, you don't have any errors.

Now, do you have any other subdomains? Does your subdomain folder have a cgi-bin folder in it? How did you set up the subdomain?
I set up the sub-domain how it shows in the last config file that I posted, but it doesn't work.
geekmaster
 
Posts: 23
Joined: 13. December 2007 14:13

Postby KallistaAEnvarou » 19. December 2007 20:36

Did you update the c:\windows\system32\drivers\etc\hosts file? Especially if you're using Vista, you might have to save a hosts file (no extension) to a different folder and then do a copy and paste to override the "security".
KallistaAEnvarou
 
Posts: 126
Joined: 02. December 2007 17:33
Location: Cold Cold California

Postby david4c » 19. December 2007 22:21

take off comment from

NameVirtualHost *:80
david4c
 
Posts: 1
Joined: 19. December 2007 22:19

Postby geekmaster » 20. December 2007 07:12

But now it's there twice...
Code: Select all
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
##<VirtualHost *:80>
##    webmaster webmaster@dummy-host.example.com
##    DocumentRoot /www/docs/dummy-host.example.com
##    ServerName dummy-host.example.com
##    ServerAlias www.dummy-host.example.com
##    ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log
##    CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common
##</VirtualHost>

##<VirtualHost *:80>
##    webmaster webmaster@dummy-host2.example.com
##    DocumentRoot /www/docs/dummy-host2.example.com
##    ServerName dummy-host2.example.com
##    ErrorLog @rel_logfiledir@/dummy-host2.example.com-error_log
##    CustomLog @rel_logfiledir@/dummy-host2.example.com-access_log common
##</VirtualHost>
NameVirtualHost *:80

<VirtualHost *:80>
ServerName localhost
DocumentRoot "D:/server/htdocs"
<Directory "D:/server/htdocs">
Options Indexes FollowSymLinks Includes ExecCGI
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

<VirtualHost *:80>
ServerName 347media.com
ServerAlias www.347media.com
DocumentRoot "D:/server/htdocs"
<Directory "D:/server/htdocs" >
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
CustomLog logs/347media.access.log combined
ErrorLog logs/347media.error.log
</VirtualHost>

<VirtualHost *:80>
ServerName mail.347media.com
ServerAlias www.mail.347media.com
DocumentRoot "D:/server/htdocs/mail"
<Directory "D:/server/htdocs/mail" >
Options Indexes +FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
CustomLog logs/mail.347media.access.log combined
ErrorLog logs/mail.347media.error.log
</VirtualHost>





Code: Select all
# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost
127.0.0.1       347media.com
xx.xxx.xx.xx    347media.com
127.0.0.1       mail.347media.com
xx.xxx.xx.xx    mail.347media.com
127.0.0.1       smtp.347media.com
xx.xxx.xx.xx    smtp.347media.com
...
geekmaster
 
Posts: 23
Joined: 13. December 2007 14:13

Holy host file hell!

Postby LooseCannon » 20. December 2007 14:43

I've not followed this thread, but have to say that that's surely one nightmare of a host file.

What does this mean?!...
::1 localhost
# Start of entries inserted by Spybot - Search & Destroy
That's a bona fide software application running?

Other than a Google just now, I know nothing of it. It protects by catching dodgey urls, pointing them at ones local host, hence not going onto the scary internet...?

Maybe I'm barking up the wrong tree. ... Hmm, that should be an interesting translation for some.
User avatar
LooseCannon
 
Posts: 162
Joined: 18. September 2007 12:07
Location: Hampshire, UK

Re: Holy host file hell!

Postby geekmaster » 21. December 2007 20:05

LooseCannon wrote:I've not followed this thread, but have to say that that's surely one nightmare of a host file.

What does this mean?!...
::1 localhost
# Start of entries inserted by Spybot - Search & Destroy
That's a bona fide software application running?

Other than a Google just now, I know nothing of it. It protects by catching dodgey urls, pointing them at ones local host, hence not going onto the scary internet...?

Maybe I'm barking up the wrong tree. ... Hmm, that should be an interesting translation for some.
spybot search and destroy is the leading spyware protection application.
Can you help me with my sub-domain issue at all?
geekmaster
 
Posts: 23
Joined: 13. December 2007 14:13

Postby geekmaster » 23. December 2007 17:47

anyone?
geekmaster
 
Posts: 23
Joined: 13. December 2007 14:13

Postby geekmaster » 24. December 2007 07:30

please?
geekmaster
 
Posts: 23
Joined: 13. December 2007 14:13

Postby KallistaAEnvarou » 24. December 2007 07:31

Sorry, I don't know what to tell you. I don't deal with sub domains, so I don't have any clue what to do. To me, everything looks right, but obviously something isn't.
KallistaAEnvarou
 
Posts: 126
Joined: 02. December 2007 17:33
Location: Cold Cold California

Postby geekmaster » 24. December 2007 08:57

I got my XAMPP VirtualHosts/Aliases working using
Code: Select all
NameVirtualHost xx.xxx.xx.xx:80

<VirtualHost xx.xxx.xx.xx:80>
    DocumentRoot "D:/server/htdocs"
</VirtualHost>

<VirtualHost xx.xxx.xx.xx:80>
    ServerName forums.347media.com
    ServerAlias forums.347media.com
    ServerAdmin webmaster@347media.com
    DocumentRoot "D:/server/htdocs/bbs"
</VirtualHost>

<VirtualHost xx.xxx.xx.xx:80>
    ServerName mail.347media.com
    ServerAlias mail.347media.com
    ServerAdmin webmaster@347media.com
    DocumentRoot "D:/server/htdocs/mail"
</VirtualHost>

<VirtualHost xx.xxx.xx.xx:80>
    ServerName 347media.com
    ServerAlias 347media.com
    ServerAdmin webmaster@347media.com
    DocumentRoot "D:/server/htdocs"
</VirtualHost>
but I have .htaccess files in each directory.
Forums:
Code: Select all
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
RewriteEngine On
RewriteCond %{THE_REQUEST} bbs/
RewriteCond %{HTTP_HOST} !^www.347media.com
RewriteRule (.*) http://forums.347media.com/$1 [L,R=301]


Mail:
Code: Select all
# AddDefaultCharset   UTF-8
AddType text/x-component .htc

<IfModule mod_php4.c>
  php_flag   display_errors   Off
  php_flag   log_errors   On
  php_value   error_log   logs/errors
  php_value   upload_max_filesize   5M
  php_value   post_max_size   6M
</IfModule>

<IfModule mod_php5.c>
  php_flag   display_errors   Off
  php_flag   log_errors   On
  php_value   error_log   logs/errors
  php_value   upload_max_filesize   5M
  php_value   post_max_size   6M
</IfModule>

<FilesMatch "(\.inc|\~)$">
  Order allow,deny
  Deny from all
</FilesMatch>

Order deny,allow
Allow from all
RewriteEngine On
RewriteCond %{THE_REQUEST} mail/
RewriteCond %{HTTP_HOST} !^www.347media.com
RewriteRule (.*) http://mail.347media.com/$1 [L,R=301]


Whenever I type forums.347media.com I get a blank white page with no source code in it when I view the source. This tells me that the .htaccess in xampp is not activated.

I remember the last install of XAMPP I had I needed to TURN on ht.access or something because it was turned off by default.

How do I do that on XAMPP?
geekmaster
 
Posts: 23
Joined: 13. December 2007 14:13

Postby KallistaAEnvarou » 24. December 2007 09:00

Actually, I think your .htaccess file might be the problem.

What happens if you delete everything from it?
KallistaAEnvarou
 
Posts: 126
Joined: 02. December 2007 17:33
Location: Cold Cold California

Postby geekmaster » 24. December 2007 09:21

If I delete every line from it I can still get to forums.347media.com, but it is still a blank page, but when I visit 347media.com/bbs it goes to the forums.

This means what I think it means; XAMPP is stopping .htaccess from working.
There is nothing wrong with my .htaccess code as you can see.
geekmaster
 
Posts: 23
Joined: 13. December 2007 14:13

Postby geekmaster » 24. December 2007 09:26

OK i just uncommented "LoadModule rewrite_module modules/mod_rewrite.so" and when I go to 347media.com/bbs it redirects me to forums.347media.com, which is good, but for some reason it doesnt go to D:/server:/htdocs/bbs/index.php
I have no idea WHERE it's going to.

[edit]I actually just edited my index.php file in
D:/server/htdocs and put the word "hi" in there and when i go to forums.347media.com I see "hi"
geekmaster
 
Posts: 23
Joined: 13. December 2007 14:13

PreviousNext

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 55 guests