DeveloperSide.NET Forums
July 13, 2020, 12:09:21 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ Virtual Hosts
on: October 22, 2005, 10:06:46 PM
Hi, I have set up my server successfully to run php with mysql.  When I goto http://localhost/ it works fine but the trouble is I've got lots of sites which I use relative linking for.  I just want to use apache as a testing server and I understand you can use virtual hosts to help with multiple sites but I don't understand how I can do this without a domain name.  I'd appreciate your help.

Thanks
2  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ ISP Problems
on: June 12, 2005, 11:47:39 PM
Hi, I think you mis unerstood me.  PHP is working fine.  The problem i'm having is that index.htm, index.php etc is not being recognised as the default file to load eg say I goto www.mydomain.com then it should load the index.htm file but it doesn't it just lists the contents inside the folder.  Cheers
3  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ ISP Problems
on: June 12, 2005, 07:54:34 PM
Cheers my server is starting to rock.  Just the one problem I noticed though is that when I go to the domain it lists the files instead of loading the contents from the index.php file.  This is the same as any of the sub directories even with index.htm files inside.  I'd appreciate your support once more.  Thanks
4  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ ISP Problems
on: June 10, 2005, 07:42:58 PM
Ah genius think I got that working good www.punk-tabs.com.  The problem I am having now is that I want to have punk-tabs.com go to the punktabs directory (inside the webroot - it currently goes to webroot) and I want flixon.com to go to the flixon.com directory.  But when I add an additional record it just says to specify the ip address.  How would I get it to go to the specific directory.  Cheers
5  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ ISP Problems
on: June 10, 2005, 11:42:01 AM
Hi, I found a website which lists alot of them http://www.oth.net/dyndns.html.  I checked a couple out but none of them really explain what this service is.  I don't really want to be stuck wiv a sub domain name.  I was also wondering whether I would have to update something each time my ip address changes.  Cheers
6  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ ISP Problems
on: June 09, 2005, 10:49:40 PM
Hi, I live in the UK and I have wanadoo broadband (www.wanadoo.co.uk).  I'm trying to run my own server from home but I have two problems.  I do not have a static ip address and was wondering if there was anyway of getting one.  The other is that I don't know what my upload speed is.  I was wondering if anyone could help me out.

If I can't get a static ip address do you know any other isp's that I could use.  Cheers
7  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ .htaccess Files
on: January 07, 2005, 04:32:21 AM
Hi, I changed it to the following but I'm still getting the error message "Internal Server Error" but when I upload the same .htaccess file to my server it works fine.  This suggests to me there is a problem with the httpd.conf file still:

Code:

###*********************************************************
###*  DeveloperSide.NET                                    *
###*  http://www.devside.net                               *
###*  admin@devside.net                                    *
###*********************************************************


Listen 80
ServerRoot "/www/Apache2"
DocumentRoot "/www/webroot"

ServerName localhost:80
ServerAdmin admin@yourdomain.com

ServerSignature On
ServerTokens Full

DefaultType text/plain
AddDefaultCharset ISO-8859-1

UseCanonicalName Off

HostnameLookups Off

ErrorLog logs/error.log
LogLevel error

PidFile logs/httpd.pid

Timeout 300

KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15


<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild 0
</IfModule>


LoadModule access_module modules/mod_access.so
#LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
#LoadModule asis_module modules/mod_asis.so
#LoadModule auth_module modules/mod_auth.so
#LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.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 dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dir_module modules/mod_dir.so
#LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule file_cache_module modules/mod_file_cache.so
LoadModule headers_module modules/mod_headers.so
#LoadModule imap_module modules/mod_imap.so
#LoadModule include_module modules/mod_include.so
LoadModule info_module modules/mod_info.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 mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
<IfDefine SSL>
LoadModule ssl_module modules/mod_ssl.so
</IfDefine>
LoadModule deflate_module modules/mod_deflate.so
LoadModule perl_module modules/mod_perl.so
LoadModule php4_module /www/php/php4apache2.dll


<Directory />
<IfModule mod_deflate.c>
# AddOutputFilterByType DEFLATE text/html text/plain text/xml
# The above does not seem to work under win32 100%, we will use this instead...
SetOutputFilter DEFLATE
<IfModule mod_headers.c>
Header append Vary User-Agent
</IfModule>
</IfModule>
Options FollowSymLinks
AllowOverride None
order deny,allow
deny from all
</Directory>


<Directory "/www/webroot">
AllowOverride All
Order allow,deny
Allow from all
</Directory>


#### .htaccess File Configuration
AccessFileName .htaccess

<Files ~ "^\.htaccess$">
order allow,deny
deny from all
</Files>


<IfModule mod_cgi.c>
<IfModule mod_alias.c>
ScriptAlias /cgi-bin/ "/www/cgi-bin/"
</IfModule>

<Directory "/www/cgi-bin">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</IfModule>


#####For mod_perl Hello example, \www\perl\site\lib\Apache\Hello.pm
#
PerlModule Apache::Hello
<Location /hello>
SetHandler modperl
PerlResponseHandler Apache::Hello
</Location>
#
#####End mod_perl Hello example


#####For Apache::ASP examples
#
# AccessFileName .htaccess
#
# <Files ~ "^\.htaccess$">
# order allow,deny
# deny from all
# </Files>
#
<Directory "/www/webroot/asp-example">
order deny,allow
deny from all
# allow from 127.0.0.1
# Options FollowSymLinks
# AllowOverride All
</Directory>
#



#####Apache::ASP setup
#
<IfModule mod_perl.c>
PerlModule Apache::ASP
<Files ~ (\.asp)>
SetHandler perl-script
PerlHandler Apache::ASP
PerlSetVar Global .
PerlSetVar StateDir /tmp/asp
</Files>
</IfModule>
#
#####End Apache::ASP setup


<Directory "/www/webroot/phpMyAdmin">
order deny,allow
deny from all
allow from 127.0.0.1
</Directory>

<Directory "/www/webroot/stats">
order deny,allow
deny from all
allow from 127.0.0.1
</Directory>

<IfModule mod_log_config.c>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined
CustomLog logs/access.log combined
<IfModule mod_deflate.c>
DeflateFilterNote Input instream
DeflateFilterNote Output outstream
DeflateFilterNote Ratio ratio
LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
CustomLog logs/deflate.log deflate
</IfModule>
</IfModule>

<IfModule mod_dir.c>
DirectoryIndex index.html index.php index.asp
</IfModule>

<IfModule mod_mime.c>
TypesConfig conf/mime.types
AddType application/x-tar .tgz
AddType application/x-rar-compressed .rar
<IfModule sapi_apache2.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
</IfModule>
</IfModule>

<IfModule mod_setenvif.c>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "^gnome-vfs" redirect-carefully
<IfModule mod_deflate.c>
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</IfModule>
</IfModule>

<IfModule mod_status.c>
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
</IfModule>

<IfModule mod_info.c>
<Location /server-info>
SetHandler server-info
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
</IfModule>

<IfModule mod_ssl.c>
Include conf/ssl.conf
</IfModule>


I'd appreciate any help.  Thanks
8  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ .htaccess Files
on: January 03, 2005, 07:02:50 PM
Hi, I think I understand what I gotta do just testing a few different things.  The config file come with one of the pre built packs available on this site.
9  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ .htaccess Files
on: January 03, 2005, 06:51:03 PM
Hi, the config file I am using came automatically with it.  I don't have a clue what it all means just starting out.
10  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ .htaccess Files
on: January 02, 2005, 11:20:47 PM
After abit of trial and error I found AllowOverride All this to be causing the problem.  When I remove this the pages load fine but the htaccess files still don't work.

If it's any help here's my httd.conf file (i know it could be dangerous to post this but it's only for testing purposes)

Code:

old
11  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ .htaccess Files
on: January 02, 2005, 11:07:47 PM
Hi, I changed it to:

Code:

#####For Apache::ASP examples
#
AccessFileName .htaccess

<Files ~ "^\.htaccess$">
order allow,deny
deny from all
</Files>
#
<Directory "/www/webroot">
AllowOverride All
order deny,allow
allow from all
# allow from 127.0.0.1
# Options FollowSymLinks
</Directory>
#
#####End Apache::ASP examples


and restarted apache but now I get the error:

Quote

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@yourdomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


everytime I go to a page.  Any ideas?
12  DeveloperSide.NET / Web.Developer Server Suite Community Edition,
Public Support Forum
/ .htaccess Files
on: January 02, 2005, 02:33:57 PM
Hi, how do you configure your server to allow the use of these.  I wish to use them in the sub directory of the webroot directory.  I imagine it's something around:

Code:

#####For Apache::ASP examples
#
# AccessFileName .htaccess
#
# <Files ~ "^\.htaccess$">
# order allow,deny
# deny from all
# </Files>
#
<Directory "/www/webroot/asp-example">
order deny,allow
deny from all
# allow from 127.0.0.1
# Options FollowSymLinks
# AllowOverride All
</Directory>
#


In the config file but I've tried a few different things and nothing seems to work.  I'd be greatful for your help.  Thanks
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!