Does anyone know how to configure htaccess? I need it to work with the subdomain, and the main domain does not appear in the address bar when the subdomain is open.
Ex how you are now:
[ link
My current htaccess is the code below:
R...
I have a rewrite rule I found in a old question of the American OS:
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(.*/)([^/]+)/([^/]+) $1?$2=$3&%1 [L]
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^([^/]+)/ $1.php?%1 [L]
This rule...
When I access my website, apache automatically loads the index.php page.
Is it possible to change this in htaccess ?
I want it to always look for the Login.php page.
I have on the server installed Debian , Apache , PHP5 and MySql .
When you type in the browser the address of a folder, for example link , all folders and files are listed.
How do I make folders and files not list...
I'm trying to make a .htaccess for url's friendly but would like to make people not see my directories and at the same time the scripts could access the files ... is it possible to do this?
I already set my site's php settings to the upload limit size ( post_max_size and upload_max_filesize ). I put 1 Giga as a precaution for the tests.
But when I try to upload a 30-megabyte file, the status bar shows the progress o...
Has anyone seen anything like this?
link
It is a project in laravel 5.7 hosted on the king host, the site is working normally on the local server, but on the web server it loads the page with status 404 and so I can not login or anythin...
I made a REST api, using Laravel , for an application I am doing, to perform the requisition tests I created a VM where the api is.
Assign a fixed ip to this VM and deactivate the firewall to avoid disturbing.
I configured this way:
In...
I was having trouble enabling apache2 to run .php pages.
Then I did the following:
I removed the Directory address from the html folder, so the file was:
Iremovedthehtmlfolderin/var/www/htmlbecauseNetBeanswhentryingtocreateaprojectin.phpd...
I have the following problem, I have an application with the following structure:
app - Folder to store project files as controllers and
models.
public_html - Stores public documents on the web, such as index, uploads, css.
routes.p...