0
votes
1answer
60 views

Apache - How to extend localhost scope e.g. to other drives?

In Apache httpd.conf file I can set the DocumentRoot value. After setting this, if I view "localhost" in a browser, I can see the folders and files this given folder contains. I cannot "speak" PHP ...
0
votes
1answer
1k views

Trying to host server for external access - Apache, VirtualBox & Portforwarding

Banging my head on the wall at this stage... Trying to host my Apache site on Ubuntu 12.10 with VirtualBox. Running Windows 8 host. Things I've done: Ensured Apache is listening on ports 80, 443 ...
3
votes
1answer
405 views

Apache Virtual Host does not work

I've problems setting up a virtual host on windows7, so that I can develop multiple pages on my localhost. To set up the virtual Host, I've edited 3 Files: httpd-vhosts.conf in apache\conf\extra ...
2
votes
1answer
1k views

Tomcat serving static content with directory listings

I have Tomcat 7 configured to serve static contents from a directory: <Host appBase="webapps" name="localhost"> ... <Context docBase="/var/projectA/static" path="/projectA/" /> ...
0
votes
1answer
2k views

MAMP not working as 'localhost' but works with “127.0.0.1”

I just installed MAMP on Mac OSX 10.8.2. When it is started, I'm not able to access the server through http://localhost:8888 but when I visit http://127.0.0.1:8888/ and it works fine. Why is it so? ...
1
vote
2answers
118 views

Hosting an apache server from my mac

I created a website with PHP and JS. I want to send my IP address to a friend who is in another state and let him see it. My site is loaded by xampp. How could I do this?
1
vote
1answer
844 views

xampp not working with DynDNS

My setup consists of: a XAMPP 1.7.7 installation, with Apache configured to listen to port 8080 dyn.com to make the projects accessible from the web ( 8080 shows up as 'open' when checking with ...
2
votes
1answer
74 views

Handling request after installing MAMP (no DNS setup yet)

I've just installed MAMP on my mac machine and checked the server is working by looking at localhost. I looked up my IP address by ifconfig. When I use another machine, I still can't get connected to ...
1
vote
1answer
366 views

Congifuring Red5 Server to run on localhost

I just installed the red5 rtmp server on my machine and tried to run the demo. The only thing that i see is "connecting to server" but it never gets connected. I have gone through most of the ...
2
votes
2answers
7k views

wamp installed can't find localhost

I installed a WAMP package on a Windows 7 machine and everything ( Apache, php, mySql, phpMyAdmin) appear to have installed correctly. However when I try to access localhost or phpMyAdmin via the ...
1
vote
3answers
498 views

Why isn't my PHP file running?

I recently installed Apache and later installed PHP too. When I browse to http://localhost/index.html it displays the default Apache page "it works". But when i try to run ...
0
votes
1answer
102 views

Name of virtualhost (apache)

I need to create virtualhost with name "virtualhost_name". To access it with http://virtualhost_name I have a pattern: <VirtualHost *:80> ServerAdmin jan@novak.cz DocumentRoot "path" ...
0
votes
1answer
227 views

htaccess - “detect” url and redirect

Idea is: if URL = "http:/localhost/site/" else if URL = "http:/localhost/site" redirect to "http:/localhost/site/index.html" Can this be done with .htaccess / Apache mod_rewrite and how?
1
vote
1answer
1k views

Symbolic link not allowed or link target not accessible: /var/www on Ubuntu 11.04

I am getting a 403 when i access http://mayfieldafc.local/ upon looking in the Apache logs I am getting: [Wed Nov 16 12:32:59 2011] [error] [client 127.0.0.1] Symbolic link not allowed or link target ...
3
votes
2answers
1k views

Apache2 virtual host localhost doesn't render CSS when offline because of absolute path

I'm running apache2 on a local server. I use no-ip.com to route DNS to that server through my cable modem. While disconnected from the web and working on localhost my web pages don't render the CSS ...
1
vote
2answers
820 views

getting mod_rewrite to work on Mac OS X

I'm trying to get mod rewrite to work on my Mac. This is the content of the .htaccess file: <Files *\.ini> order allow,deny deny from all </Files> RewriteEngine on RewriteRule .* ...
0
votes
1answer
273 views

Where is my Tomcat running on my virtual server?

According to what I know; Apache and Tomcat are listing on different ports by default. If I have both of them running locally then: localhost -> Apache home page (port 80) localhost:8080" -> Tomcat ...
2
votes
1answer
546 views

Magento - Unable to access remote site but able to access a simple index.html file

I'm building a store (magento 1.6.0.0-rc2) and have a home server to host the site. It is behind a modem/router with redirection of port 80 and 3000 active to server box. 1. I can access the ...
2
votes
3answers
285 views

Mod Rewrite question

Is there a way to rewrite http://localhost/embed/player.swf?file=http://www.youtube.com/watch?v=7yKDhm4_-90 to something smaller? or is there a way to change this into ...
1
vote
1answer
124 views

how can i let my friends visit my webserver?

How do I make it so that my friends can visit my localhost website by typing in my IP address into their browser address bar? I'm using XAMPP what steps do i need to take etc.