Questions tagged as 'apache'

0
answers

Error 404 when defining URL in mod_rewrite

Good I'm trying to change the URL's on my site as per the example below of the .htaccess file but I end up going to the localhost's "Object not found, Error 404" page. Here is the code from my .htaccess file: RewriteEngine on RewriteCond...
asked by 01.10.2017 / 01:35
0
answers

What would it be and how to use NameVirtualHost *: 80?

I'm installing a new pre-configured website, but in order to install it, you need to create a configuration file as follows: Thispartofthedocumentationisvaguetome,andIdidnotunderstandwhatthisconfigurationfilewouldbe,Ithencreatedan.htaccessfi...
asked by 19.09.2017 / 19:50
1
answer

Problem to raise the Apache server with XAMPP in Ubuntu 17.04

I'm using XAMPP on Ubuntu 17.04 and am experiencing a very annoying problem to raise the apache server. When you enter the /opt/lampp directory and run the ./lampp start command, the following problem is returned: After...
asked by 11.09.2017 / 00:52
0
answers

.htaccess with friendly url and https

I have a working website that uses friendly URLs, its current code is: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] Now I need to keep the URL friendly and whenever it...
asked by 27.06.2017 / 21:35
0
answers

Friendly / Optimized Url does not open [closed]

I'm optimizing the URLs of a website and I had a problem. Some pages do not open after receiving the optimization, actually the page is found and inserted in the path, but the page content stays the same. In some cases I have been modifying /...
asked by 17.07.2017 / 14:22
1
answer

Analysis of production code

Hello, I would like to know if there is any open source tool for me to analyze memory usage / processing allocated by my production methods. I would like to know what methods need attention and improvements, and thus decrease the resource...
asked by 07.06.2017 / 21:51
2
answers

Apache problem - 2 domains

Good afternoon ... I'm trying to set up 2 domains on 1 server: _Debian Linux _Apache2 I created the following file: pclinx.conf, then applied a2ensite, icou enabled and restarted apache2. <VirtualHost *:80> ServerAdmin webmaster@lo...
asked by 17.04.2017 / 22:30
1
answer

Multiple Rewrite rules with .htaccess

I currently have the following .htaccess: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / ## Esconder .PHP # Redirecionamento externo de /dir/foo.php para /dir/foo RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php...
asked by 12.04.2017 / 01:01
2
answers

Blocking on port 80 of apache

An application for a control is being developed inside the company, but when I try to use apache on other machines to get access it returns a lock    Forbidden       You do not have permission to access / backup on this server.   Apache / 2....
asked by 28.10.2016 / 17:12
0
answers

Using the .htaccess file with RewriteBase

I use the .htaccess file for writing friendly URLs, but I always have a problem with style sheet and image links when a rewrite is added that adds a level or removes. Type: link points to example.html and link for example.html? example =...
asked by 29.03.2017 / 22:24