Hello everyone, I'm starting a new project using Linux and PHP, but for the early dev state i'm now, I'm trying to use XAMPP for now.
I'm Running Ubuntu 10.04 x64 on a laptop, And got everything I need. The site I should build is based upon CodeIgniter and some implementation of smarty, but I think this is not that important because the...
Hay, can someone lend a helping hand to get a rewrite rule to work?
I'm developing a CMS and the URL currently look like this
page.php?id=2/About-us
I want to remove the
page.php?id=2/
part of the URL and just show
About-us
Any ideas how to get this working?
EDIT
I have since changed my URLS to
page/PAGE_NAME
and used th...
Warning: Directive
'register_long_arrays' is deprecated
in PHP 5.3 and greater in
Unknown on line 0
Is the error message, as far as I can see I don't have it in my code/.htaccess file
...
Auld lang syne, it was possible to download pre-compiled bindings (binaries) of SVN against Apache 2.x on subversion.tigris.org
Where now?
...
I have a module that needs to return a reference URI in its payload. If called via an SSL connection, I need to build a URI that has the https prefix. I can easily get the port number from the request, but the problem is the user could have picked any port for SSL (and in fact this particular Apache instance always starts out with a non-...
I use Tomcat for hosting my web application and use apache http server on top of it using mod proxy for load balancing.
When my application throws a 404 or 500 error, I want to serve the error pages through apache http server rather than tomcat server. This is because I am serving all of my static content through apache and we don't wa...
I'm currently writing a script to automate our CMS setup and deployment. Part of that process is adding an alias to Apache2 which is normally done manually via Webmin.
At current, I'm looking to append a line into the Apache2 include file that stores all the alias, using the following:
echo Alias /path \"/var/www/directory\" >> alias.i...
I'm not quite sure how to phrase this question correctly, so I'll start with the scenario I encountered.
I have a bit of processing in my web app that takes longer than I'd like the user to wait to have control of the page again, so I decided to have it processed by an ajax request.
The problem is, even though I offloaded this reques...
Hello all,
This is probably straight forward for someone who know apache mod rewrite and regex but that someone is not me.
This is what I am looking for :
I just want to re-route image,css requests to one shared repository image/css file. e.g. we have 6-7 sites which can be on same server or different.
Currently, image looks like thi...
Hello.
I need help with url-rewriting in .htaccess.
So the issue is about different protocols: https and http. The main purpose of rewriting is to remove "www" from URL, but protocol should stay the same it was before.
For example, when I have URL like http://www.domain.com/request, it should be redirected to the http://domain.com/req...
Hi there!
My server is an apache 2.2 who serves php applications, now I would like to configure it to serve J2EE applications as well.
I think there is an Apache module to deploy WAR files into it, Could anybody help me?
Thanks
...
I've just enabled Web Sharing on my Mac OS X Snow Leopard box.
HTML files load up fine, but I'm getting a 403 error on JavaScript files. I've already tried changing directory permissions in the httpd.conf file but that didn't solve anything.
...
I have this rule:
RewriteRule ^(panel|admin|site)/([A-Za-z0-9]+?)/(scripts|assets)/(.*)$ Project/$2/Public/$3/$1/$4 [L]
The idea is to allow access to public assets as they exist inside modules of code. The only issue is that the naming scheme requires title case (lets assume this is unchangeable). Hence, a request to:
/site/users/sc...
This server runs on Ubuntu 10.04, particularly on Linode VPS.
Passenger Error:
A source file that the application requires, is missing.
It is possible that you didn't upload your application files correctly. Please check whether all your application files are uploaded.
A required library may not installed. Please install all libraries ...
Hello everyone,
I'm having problems with downloading binary file (zip file) in my app from te internet. I have to use basic access authentication to authorize acces to file, but server response is always HTTP/1.0 400 Bad request.
String authentication = this._login+":"+this._pass;
String encoding = Base64.encodeToString(authentication.g...
How should I administrate users and groups with the repositories?
Until now users can access the server repositories through http. The tag configuration it inside /etc/apache2/mods-available/dav_svn.conf
<Location /srv/svn/>
DAV svn
SVNPath /srv/svn/projecX
#SVNParentPath /srv/svn #if I have more the one repository inside the folder
Au...
Hi guys,
I have a question about the damn configuration of apache (I HATE IT).
I have a cms that hosts multiple domains on the same port.
What i am trying to do is getting all domainnames on port 80 to be send to port 8080.
Also i have a cash dir based on the domainname and before all this a rewrite that strips the www. from the do...
Hi,
i have my application installed on a windows server, under apache web server. This project is facing a performance issue now, It is responding very slow. Web application is installed in Jboss, and apache webserver communicates with jboss via AJP protocol.
I am studying why this performance problem is hitting my web application.
Ove...
Hi guys.
I am deploying a new rails app.
But i have a problem. In my routes file i have the following (at the end of the file):
match '/:id(/*path)' => "websites#index"
in development everything works great! but i am now switching to production and the files in the public directory can not be accessed. For some reason those reques...
I have a rewrite rule which redirects to / if no accept-language is present and someone attempts to visit ?lang=en. It works fine, except for the headers returned. Vary: accept-language is missing from the response.
RewriteCond %{HTTP:Accept-Language} ^$
RewriteCond %{QUERY_STRING} ^lang=en
RewriteRule ^$ ...