From: Jim M. <j.m...@vi...> - 2007-01-21 17:50:50
|
On Sun, 21 Jan 2007 16:43:48 +0000, Mark Golledge wrote: > Jim, > > Thanks for the problem. > > I think the problem is with the rewrite bit. I can now get into > Misterhouse at mydomainname/misterhouse but none of the links (i.e. > enter password, edit mh.ini) work. > > You mentioned a couple of things in your first email: > > In the Dynamic Shared Object (DSO) Support section make sure that there are > lines containing both: > LoadModule rewrite_module xxxxxxxxxxx/apache/mod_rewrite.so > LoadModule proxy_module xxxxxxxxxxx/apache/libproxy.so > > You should also find the following: > AddModule mod_rewrite.c > AddModule mod_proxy.c > > I've got the following lines in the hppd.conf file under DSO (sorry > for the long post). Can't find the bits you are stating. Should they > be added in? > > > # Dynamic Shared Object (DSO) Support > # > # To be able to use the functionality of a module which was built as a DSO you > # have to place corresponding `LoadModule' lines at this location so the > # directives contained in it are actually available _before_ they are used. > # Statically compiled modules (those listed by `httpd -l') do not need > # to be loaded here. > # > # Example: > # LoadModule foo_module modules/mod_foo.so > # > 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 auth_digest_module modules/mod_auth_digest.so > #LoadModule authn_anon_module modules/mod_authn_anon.so > #LoadModule authn_dbm_module modules/mod_authn_dbm.so > LoadModule authn_default_module modules/mod_authn_default.so > LoadModule authn_file_module modules/mod_authn_file.so > #LoadModule authz_dbm_module modules/mod_authz_dbm.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 dav_module modules/mod_dav.so > #LoadModule dav_fs_module modules/mod_dav_fs.so > #LoadModule deflate_module modules/mod_deflate.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 imagemap_module modules/mod_imagemap.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_ajp_module modules/mod_proxy_ajp.so > #LoadModule proxy_balancer_module modules/mod_proxy_balancer.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 > #LoadModule ssl_module modules/mod_ssl.so > > > Have setup AllowCONNECT 81 443 > > Where does the following need to go? > > RewriteEngine on > RewriteCond %{HTTP_REFERER} www.mydomain.co.uk/misterhouse > RewriteCond %{REQUEST_URI} !/misterhouse > RewriteCond %{REQUEST_URI} !/ia5 > RewriteRUle ^(.*)$ http://www.mydomain.co.uk/misterhouse/$1 [L,P] > > > For info: listen 192.168.0.3:81 is set and I can access that page > successfully - it brings up the full Misterhouse. > > Sorry to be a pain!!! We'll get there in the end. > > > > > > On 1/21/07, Jim Morrissey <mar...@ya...> wrote: >> [115 quoted lines suppressed] > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 Hi Mark, Sounds like it is the rewrite part that missing now. I put the lines concerning rewrite just after the "ServerName" and "ServerAlias" directives. I am not sure it is really critical where they are. As far as the AddModule mod_rewrite.c AddModule mod_proxy.c lines, this could be a difference between the Apache 1.3 that I use and Apache 2. I just did a google on the net and found the AddMod directive in Apache 1.3 but no reference of it in Apache 2. It may very well be that it is not needed. Since the proxy part is working I think you can leave it out. Let me know if adding the rewrite rules get it to work. Once it is operating locally you will have to have someone try from another location to make sure everything passes throught the net. Jim |