I have linux server (Red Hat Enterprise Linux Server release 5.3 (Tikanga)) with apache installed. It is already used for browsing some documents. Now I would like to add a new Directory (with a html page), so whenever the directory is browsed it can
I am facing following problem: After enabling 5 Network adapter cards and enabling them from IPv6. When I am trying to access it host name, it's giving page not found error. e.g. http://hostname:8080/ But it works with static IP. e.g. http://staticip
I was adviced recently that the best practice to add WWW to an URL is by configuring the httpd.conf file and not the .htaccess rule. I have been googling but havent found the configuration yet. Can anyone please point me in the right direction? -----
I just want to know if it is compatible or not? I loaded the weblogic module in Apache config file and was trying to compile it. But it thrown an error which says that the module is not found but I checked it manually the module was there. Have you g
So I am pretty new to webservers in general. I setup my own on CentOS pretty easily, but now that I am trying out Windows Server 2012 using WAMP I am having some trouble accessing the server from external computers, and other computers in my network.
I have added htpasswd protection using htaccess file for authentication, now I want to bypass authenitcation for www.website.com and www.website.com/index.php where both urls are accessing index.php file. By using below htaccess file I have allowed i
Since upgrading to OS X Yosemite DP I have had trouble using Apache on my Mac, and previously fell back to using MAMP. Since OS X 10.10 DP5, now MAMP does not work either. So I figured I had to fix this issue the hard way (I am not very skilled with
Trying to rewrite an alias in .htaccess. The problem is that the alias is already defined in the httpd.conf of the server. So, is it possible to "override" that rule in .htaccess for the redirect is effective only for the site in question? Knowing th
I have a problem with my VPS. I restarted it and now I have 403 errors in all directories expect: /downloads/root I checked the permissions and it has 777 so it's not a problem. I guess it's related to .htaccess but I'm not sure!! The main direcotry
I am trying to disable STRICT Error reporting in WordPress 3.7 via my php.ini file after updating my computer to OS X 10.9. I am running PHP Version 5.4.17, the one that ships with Mavericks. In my wp-config.php file, I have enabled define('WP_DEBUG'
I'm trying to use the code provided in this php REST tutorial at the very top. The code is server.php and the apache config is apache.conf Anyway, when I try to run the program I get a "broken link" error. However, if I simply echo "hello" it will di
I've set up a WAMP server using a Windows XP 64-bit Professional workstation. After that, I added two virtual hosts on ports 81 and 82. In one virtual host I've installed CodeIgniter, and in the other WordPress. Both virtual hosts are having the same
I am trying to get Erubis setup to process .rhtml files on an Apache web server. I have Ruby installed (v 1.9.2p290) and I installed Erubis(2.7.0) through Ruby Gems. I can't seem to find the proper way to configure the httpd.conf file -- I found a gu
Note: apparently there's a collision on the ServerName in my virtualhost entries and I need to make some changes to my /etc/hosts files. Looking into this but any insight is appreciated. Thanks ======================================= (note I replaced
The apache server was pre-installed with Lion. The problem is that default DocumentRoot in /etc/apache2/httpd.conf is "/Library/Webserver/Documents", but it turns out to point to another directory ,which is "/usr/htdocs" ,when I visit my page, say ,l
In httpd.conf I defined a virtual host like this : <VirtualHost *:80> ServerName myproject DocumentRoot "C:/xampp/htdocs/MyProject/www" </VirtualHost> Now I would like a script outside the www folder to be the startpoint of this website.
None of my RewriteRules seem to be working... I have tried many variations, but none of them seem to be read. RewriteEngine On RewriteRule (.*) http://www.domain2.com$1 [R=301,L] --------------Solutions------------- Do you have some log ? If not, ena
I would like to redirect as such... http://old.com/a/b/ -> http://new.com/y/z/ http://old.com/a/b/file.php -> http://new.com/y/z/ http://old.com/a/b/c/file.php -> http://new.com/y/z/ http://old.com/a/b/anything -> http://new.com/y/z/ http
I've hired a new VPS and have root access. Now i want to configure this VPS to my likelings. I know how to enable wildcard subdomains for one host, but i want to do this for ALL domains at once on the server. Any idea's? Could something like this wor