When I try to access index.py in my server root through http://domain/, I get a 403 Forbidden error, but when I can access it through http://domain/index.py. In my server logs it says "Options ExecCGI is off in this directory: /var/www/index.py".…
I am setting up a CDN for my website, I found the following sample for adding to the 'httpd.conf' file, this is used to adjust the cache-time for client and CDN:
ExpiresActive On
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/jpeg…
What am I missing? If I go to mysite.com:9999 I get my site, but not mysite.com Obviously the users shouldn't need to type in the port, so what do I need to do? I'm not really trying to hide the port so much as not require the user to type it in…
I have setup our Apache server to use UserDir.
This mean our URLs are:
http://dev.server.com/~username/drupal/html/
Before our URLS were:
http://dev.server.com/drupal/html/
In the 2nd case I never had to set RewriteBase. The default just…
I just set up HTTPS on my server, and I have an issue with redirect permanent.
Example: http://example.com/index.html redirects me to http://www.example.comindex.html.
The / (tail ending slash) is missing and I can't figure out how to fix it.
It…
I am setting up PHP for the first time and I am getting this error from the Apache server:
Set the "servername" directive globally to suppress this message.
This is the content of my httpd.conf file:
# This is the main Apache HTTP server…
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 since WordPress is linking to the absolute domain…
what would be the correct config to allow only authenticated users and the intranet (without need for a password) in apache?
This does not request a password and without the "satisfy any" intranet users are also required to enter a…
I've written code for file upload and download using HttpWebRequest/HttpWebResponse class in C# with Apache 2.2 as a web server. In code I'm using request.method = "PUT".
I want to config my HTTP config file to support PUT method. I write PUT method…
im sure, this question looks really stupid first. but i need a "second opinion" on this, even i did some research on my own but i am still unsure about this.
By default the Apache Configuration on CentOS7 and pretty much any Distro i know so far…
According to apache documentation, the final parameter of ErrorDocument can be specified as a path, URL or text to any error code.
What I have done so far to eliminate any calls to the I/O file system is to use text as my final value. For example, I…
I have two virtual hosts, and have sites1.com and sites2.com pointing to my server. All works fine.
ServerName site1.com
DocumentRoot /var/www/site1/html
allow from all
…