448191 Posted September 13, 2007 Share Posted September 13, 2007 For some reason a server I'm trying to configure only server when trying on the server. I'm pretty much all out of ideas why... ServerRoot "c:/apache2" Listen *:4033 DocumentRoot "D:\php\htdocs" ServerName xxxx.xxxx.nl:4033 <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all Satisfy all </Directory> <Directory "D:\php\htdocs"> Options Indexes FollowSymLinks AllowOverride all Allow from all </Directory> Note that there are several Tomcat instances runnning on this machine as well. I don't think that should matter, but to be safe... I don't think there's anything other in httpd.conf that could cause this, but just to be sure, I'll post the whole thing: ThreadsPerChild 250 MaxRequestsPerChild 0 ServerRoot "c:/apache2" Listen *:4033 LoadModule actions_module modules/mod_actions.so LoadModule alias_module modules/mod_alias.so LoadModule asis_module modules/mod_asis.so LoadModule auth_basic_module modules/mod_auth_basic.so LoadModule authn_default_module modules/mod_authn_default.so LoadModule authn_file_module modules/mod_authn_file.so LoadModule authz_default_module modules/mod_authz_default.so LoadModule authz_groupfile_module modules/mod_authz_groupfile.so LoadModule authz_host_module modules/mod_authz_host.so LoadModule authz_user_module modules/mod_authz_user.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule cern_meta_module modules/mod_cern_meta.so LoadModule cgi_module modules/mod_cgi.so LoadModule dir_module modules/mod_dir.so LoadModule env_module modules/mod_env.so LoadModule imagemap_module modules/mod_imagemap.so LoadModule include_module modules/mod_include.so LoadModule isapi_module modules/mod_isapi.so LoadModule log_config_module modules/mod_log_config.so LoadModule mime_module modules/mod_mime.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule userdir_module modules/mod_userdir.so LoadModule php5_module "c:/wamp/php/php5apache2_2.dll" ServerAdmin webmaster@localhost ServerName *****.******.nl:4033 DocumentRoot "D:\php\htdocs" <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all Satisfy all </Directory> <Directory "D:\php\htdocs"> Options Indexes FollowSymLinks AllowOverride all Allow from all </Directory> <IfModule dir_module> DirectoryIndex index.php index.php3 index.html index.htm index.html.var </IfModule> <FilesMatch "^\.ht"> Order allow,deny Deny from all </FilesMatch> ErrorLog ../logs/apache_error.log LogLevel warn <IfModule log_config_module> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common <IfModule logio_module> # You need to enable mod_logio.c to use %I and %O LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio </IfModule> CustomLog ../logs/access.log common </IfModule> <IfModule alias_module> ScriptAlias /cgi-bin/ "c:/wamp/Apache2/cgi-bin/" </IfModule> <Directory "c:/apache2/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> DefaultType text/plain <IfModule mime_module> TypesConfig conf/mime.types AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 </IfModule> #MIMEMagicFile conf/magic <IfModule ssl_module> SSLRandomSeed startup builtin SSLRandomSeed connect builtin </IfModule> php_value include_path ".:\php\lib\mediawiki" PHPIniDir "C:/php/" Quote Link to comment Share on other sites More sharing options...
thedarkwinter Posted September 13, 2007 Share Posted September 13, 2007 Though i have no idea what the question is.... i think the answer might be to change DocumentRoot "D:\php\htdocs" to DocumentRoot "d:/php/htdocs" cheers, tdw Quote Link to comment Share on other sites More sharing options...
448191 Posted September 13, 2007 Author Share Posted September 13, 2007 The problem is that it only accepts connections from the server itself. From somewhere else it times out. And that´s not going to help. Thanks anyway. Quote Link to comment Share on other sites More sharing options...
effigy Posted September 13, 2007 Share Posted September 13, 2007 Does <Directory "D:\php\htdocs"> need Order deny,allow? Do the logs show that the outside is trying to connect? Is the ServerName portion in /etc/hosts? (Actually, for Windows its lmhosts, right?) Is the server behind a router, i.e., getting properly directed to based on the port? Quote Link to comment Share on other sites More sharing options...
448191 Posted September 14, 2007 Author Share Posted September 14, 2007 Does <Directory "D:\php\htdocs"> need Order deny,allow? Oops. I guess it does. Thanks. That's probably it. Although I wonder why requests made from the server itself do work then ??? Do the logs show that the outside is trying to connect? Tbh, I didn't check. I'll do so today. Is the ServerName portion in /etc/hosts? (Actually, for Windows its lmhosts, right?) I don't know. But I'm using existing DNS records, just a different port. So that should work, right? Is the server behind a router, i.e., getting properly directed to based on the port? I wouldn't know. The server is at the AMS-IX datacenter, that's all I know. As you can probably tell, I don't really have any practical experience with this type of stuff. I'll try if adding Order Deny, Allow will help, and otherwise I'll have a look at the accesslogs and get back to you. Thanks for the help sofar. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.