home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
General Forums
OffTopic
Apache help server configuration needed
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="joz" data-source="post: 545088" data-attributes="member: 70244"><p>Hey all,</p><p></p><p>First of all little background to this.</p><p>I call my self a webdeveloper here but I'm getting clueless and hoping some of you could help me out with this.</p><p>I run a windows XP SP3 x86 machine as my htpc and webserver and what not (some gaming maybe) in the living. It's kinda my personal playground as well, has some issues but also has some cool stuff going on, as I would say my self.</p><p></p><p>So I've been running webservers (2 of them, iis and apache latest) to expose some of the htpc's content to the web. Now that I got a proper phone (an iPhone <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />) I wanted to check out iPimp to see how it feels and all.</p><p>iPimp comes with apache which I do not need so I have to do some configuration myself. Also already posted to the ipimp thread for some help (no reply yet though, getting impatient <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" />).</p><p></p><p>What I need to do as I see it is configure apache to;</p><p>1) use aspdotnet module, easy one. works ok as far as I checked</p><p>2) Setup a virtual host (already running other webstuff on port 80, apache) because otherwise the relative url's of iPimp won't be any good. Planning to run on 8181</p><p>3) Get windows permissions right. For now, just for testings sake, I set the everyone user to do everything so should be ok</p><p></p><p>So far so good, so I went ahead doing the config bit but I keep running into 403 forbidden errors. This is what I got so far (extract of httpd.conf)</p><p>[collapse]</p><p>LoadModule aspdotnet_module modules/mod_aspdotnet.so</p><p>#and a lot of others, all required are loaded</p><p></p><p><VirtualHost *:8181></p><p>ServerAdmin <a href="mailto:some@email.com">some@email.com</a></p><p>ServerName some.uri</p><p>ErrorLog "logs/ipimp_error.log"</p><p>CustomLog "logs/ipimp_access.log" common</p><p>DocumentRoot "C:/Program Files/iPiMP/Aspx/"</p><p></p><p>AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo</p><p>Alias "C:/Program Files/iPiMP/Aspx/" ##DOCUMENTROOT##"</p><p>Alias /TVLogos "##TVIMAGEROOT##"</p><p>Alias /MP4 "##MP4ROOT##"</p><p></p><p>AspNetMount / "##DOCUMENTROOT##"</p><p></p><p><Directory "##DOCUMENTROOT##"></p><p>Options FollowSymlinks ExecCGI</p><p>Order allow,deny</p><p>Allow from all</p><p>DirectoryIndex Default.aspx</p><p></Directory></p><p></p><p><Directory "##TVIMAGEROOT##"></p><p>Options FollowSymlinks ExecCGI</p><p>Order allow,deny</p><p>Allow from all</p><p></Directory></p><p></p><p><Directory "##MP4ROOT##"></p><p>Options FollowSymlinks ExecCGI</p><p>Order allow,deny</p><p>Allow from all</p><p></Directory></p><p></p><p>AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"</p><p><Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"></p><p>Options FollowSymlinks</p><p>Order allow,deny</p><p>Allow from all</p><p></Directory></p><p></VirtualHost></p><p></p><p></p><p><VirtualHost *:80></p><p>ServerAdmin <a href="mailto:some@email.com">some@email.com</a></p><p>DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"</p><p>ServerName some.uri</p><p></p><p>ProxyPass /somedir/ some.uri:someport</p><p>ProxyPass /somedir some.uri:someport</p><p>ProxyPass /somedit/ some.uri:someport</p><p>#block hotlinking images</p><p>RewriteEngine On</p><p>RewriteCond %{HTTP_REFERER} !^$</p><p>RewriteCond %{HTTP_REFERER} !some.uri [NC]</p><p>RewriteCond %{HTTP_REFERER} !some.uri[NC]</p><p>RewriteCond %{HTTP_REFERER} !192\.168 [NC]</p><p>RewriteRule \.(gif|jpe?g|png)$ <a href="http://i50.tinypic.com/2yya5oh.jpg" target="_blank">http://i50.tinypic.com/2yya5oh.jpg</a> [NC,L]</p><p></p><p>#set expries and ETags</p><p>FileETag none</p><p>ExpiresActive On</p><p>ExpiresByType image/gif "access plus 10 years"</p><p>ExpiresByType image/jpeg "access plus 10 years"</p><p>ExpiresByType image/png "access plus 10 years"</p><p>ExpiresByType text/css "access plus 10 years"</p><p>ExpiresByType image/x-icon "access plus 10 years"</p><p>ExpiresByType application/javascript "access plus 10 years"</p><p>ExpiresByType application/x-javascript "access plus 10 years"</p><p></VirtualHost></p><p>[/collapse]</p><p></p><p>I know some of you out there know this stuff, seen some other webdev's roaming these places. Please help me out here! <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /> alot!</p></blockquote><p></p>
[QUOTE="joz, post: 545088, member: 70244"] Hey all, First of all little background to this. I call my self a webdeveloper here but I'm getting clueless and hoping some of you could help me out with this. I run a windows XP SP3 x86 machine as my htpc and webserver and what not (some gaming maybe) in the living. It's kinda my personal playground as well, has some issues but also has some cool stuff going on, as I would say my self. So I've been running webservers (2 of them, iis and apache latest) to expose some of the htpc's content to the web. Now that I got a proper phone (an iPhone :)) I wanted to check out iPimp to see how it feels and all. iPimp comes with apache which I do not need so I have to do some configuration myself. Also already posted to the ipimp thread for some help (no reply yet though, getting impatient ;)). What I need to do as I see it is configure apache to; 1) use aspdotnet module, easy one. works ok as far as I checked 2) Setup a virtual host (already running other webstuff on port 80, apache) because otherwise the relative url's of iPimp won't be any good. Planning to run on 8181 3) Get windows permissions right. For now, just for testings sake, I set the everyone user to do everything so should be ok So far so good, so I went ahead doing the config bit but I keep running into 403 forbidden errors. This is what I got so far (extract of httpd.conf) [collapse] LoadModule aspdotnet_module modules/mod_aspdotnet.so #and a lot of others, all required are loaded <VirtualHost *:8181> ServerAdmin [email]some@email.com[/email] ServerName some.uri ErrorLog "logs/ipimp_error.log" CustomLog "logs/ipimp_access.log" common DocumentRoot "C:/Program Files/iPiMP/Aspx/" AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo Alias "C:/Program Files/iPiMP/Aspx/" ##DOCUMENTROOT##" Alias /TVLogos "##TVIMAGEROOT##" Alias /MP4 "##MP4ROOT##" AspNetMount / "##DOCUMENTROOT##" <Directory "##DOCUMENTROOT##"> Options FollowSymlinks ExecCGI Order allow,deny Allow from all DirectoryIndex Default.aspx </Directory> <Directory "##TVIMAGEROOT##"> Options FollowSymlinks ExecCGI Order allow,deny Allow from all </Directory> <Directory "##MP4ROOT##"> Options FollowSymlinks ExecCGI Order allow,deny Allow from all </Directory> AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4" <Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"> Options FollowSymlinks Order allow,deny Allow from all </Directory> </VirtualHost> <VirtualHost *:80> ServerAdmin [email]some@email.com[/email] DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs" ServerName some.uri ProxyPass /somedir/ some.uri:someport ProxyPass /somedir some.uri:someport ProxyPass /somedit/ some.uri:someport #block hotlinking images RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !some.uri [NC] RewriteCond %{HTTP_REFERER} !some.uri[NC] RewriteCond %{HTTP_REFERER} !192\.168 [NC] RewriteRule \.(gif|jpe?g|png)$ [url]http://i50.tinypic.com/2yya5oh.jpg[/url] [NC,L] #set expries and ETags FileETag none ExpiresActive On ExpiresByType image/gif "access plus 10 years" ExpiresByType image/jpeg "access plus 10 years" ExpiresByType image/png "access plus 10 years" ExpiresByType text/css "access plus 10 years" ExpiresByType image/x-icon "access plus 10 years" ExpiresByType application/javascript "access plus 10 years" ExpiresByType application/x-javascript "access plus 10 years" </VirtualHost> [/collapse] I know some of you out there know this stuff, seen some other webdev's roaming these places. Please help me out here! :thx: alot! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
General Forums
OffTopic
Apache help server configuration needed
Contact us
RSS
Top
Bottom