1,520 Topics

Member Avatar for
Member Avatar for Chris Hüneke

Never published this before, so this is a DaniWeb.com Exclusive :) If your WP-Site has a lot of K-Links, you should consider using this script. It definetly works. For now... ## **Negative SEO** through spamming Backlinks can be a huge problem for the visibility of a webpage. ## You can …

Member Avatar for amastyteam
2
494
Member Avatar for Adolfo_1

I have problem with this htaccess in STATIC URL RewriteEngine On RewriteRule ^readlex/(.*)$/?$ readlex.php?slug=$1 [NC,L] **DINAMIC URL** work fine only with defined CONSTANT: Example <a href="<?php echo BASE_URL.READ_LEX ?>Le-mura-di-Lucca">Lucca</a> Result = localhost/mysite/readlex/Le-mura-di-Lucca **STATIC URL** not work (??) <a href="localhost/mysite/readlex.php?slug=Le-mura-di-Lucca">Lucca</a> Result = localhost/mysite/readlex.php?slug=Le-mura-di-Lucca">Lucca ***Unfortunately I can't insert the php CONSTANTS in …

Member Avatar for Dani
1
173
Member Avatar for Adolfo_1

Hi, it is possible change this URL with .htaccess? **From** https://www.example.it/news.php?slug=aaaa-bbb-ccccc **To** ( seo-friendly without ‘news’ ): https://www.example.it/ aaaa-bbb-ccccc

Member Avatar for jkon
0
205
Member Avatar for Steve_63

My site is on Apache, the host has enabled 'mod_unique_id' My CSP runs in the root .htaccess. My host has given me 2 lines of code to put in the CSP to make an unrecognisable base64 NONCE code each time it's needed - particularly for PayPal. What they sent (in …

Member Avatar for AndreRet
0
118
Member Avatar for TimTheCoder

Helllo guys am trying to build my first ASP.NET application here and I have a **Models** folder and **Controllers** folder. The models folder contains the class for an entity called customer whose properties are to be read from sqlite database. Thee is also a **Pages** folder that contains a folder …

Member Avatar for pritaeas
0
76
Member Avatar for merabetta

The requested URL was not found on this server. Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/8.1.4 Server at localhost Port 80

Member Avatar for rproffitt
0
244
Member Avatar for codeblock

Hi all I have uncountered a problem which has me totally confused. The problem is I have created a website with a login form. Everything so far has been working fine. but then when I try to login all of a sudden I’m hit with a "Object not found! The …

Member Avatar for Dani
0
20K
Member Avatar for Saboor880

Hi! I have been developing and distributing Standalone Java Products in my local market for 4 years. My products include, POS Softwares for Retail and whole Sale Businesses and for Food Businesses such as Restaurants and cafes. I use Apache Derby Database which is also known as 'JavaDB' as database …

Member Avatar for Saboor880
0
186
Member Avatar for showman13

Hi All, It has been a long while since I've been here, but I have hit a wall/mind block/ whatever you want to call it. This should be simple, but drawing a complete blank. I have an affiliate website where my clients can refer us to their friends and receive …

Member Avatar for Dani
0
290
Member Avatar for Talwarkumo76
Member Avatar for tempa4643

Hi, I'm curious on how and which tools are used to develop an 8 ball pool game. The one I'm referring to is that you play online with strangers, and friends for coins and tournaments.

Member Avatar for rproffitt
0
22
Member Avatar for 8shahadat.apu1z
Member Avatar for Innocent_8

I have a website and I want to change the index.php and it is not working each time I add htaccess file code it will stop me from loging in as admin.

Member Avatar for AndreRet
0
291
Member Avatar for Lek_Plepi

hi guys i have one issue with apache mod_ssl, not showing on directory i have installed via cmd "dnf install mod_ssl" and i get -> Operation aborted. :( also ssl configuartion is missing from /etc/httpd/conf.d/ssl.conf i have tried to reinstall procedure but without success what is the issue :(

0
11
Member Avatar for DaveyMoyes

Hi Everyone, I have copied a .htaccess file from one website and I am trying to use the same htaccess file on a different website. here is the copy of the htaccess file I have copied from one site to another... <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^(\d+)/([^/]+)/?$ index.php?uiid=$1&title=$2 [L] </IfModule> …

Member Avatar for Dani
0
2K
Member Avatar for darren2005

Hi, quick question as I was wondering if I could setup PHPMailer and Sendmail both on the same Apache server? Wasn't sure if Apache would only allow one? Thanks in advance

Member Avatar for rproffitt
0
190
Member Avatar for Danny159

Hey! Having some more fun with htaccess again! - I have tired everyhting and cant get it to play... Below is my code: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] RewriteBase /v2/ RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f # Admin Pages …

Member Avatar for andrevanzuydam
0
287
Member Avatar for Danny159

Hey! I have the following code for htaccess that directs /page/ to /page.php etc RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] #RewriteBase / RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^([a-z0-9\-]+)/?$ $1.php [NC,L,QSA] However, I want to also add /admin/page/ that …

Member Avatar for Dani
0
540
Member Avatar for Ron Peters

If an index file is missing in a folder, apache uses its own file/files to list the contents of the folder. Since I don’t want to create an index file in every folder in the file systems, I wonder where I can find the file/files that apache uses when there …

Member Avatar for rproffitt
0
220
Member Avatar for FarrisFahad

Hello, I am trying to redirect my website from desktop version to mobile version. Here is the desktop version example: http://www.example.com Here is what I have accomplished: http://m.example.com The problem is that some files are stored under the www version and I want them to be shown on the m …

Member Avatar for Dani
1
3K
Member Avatar for FarrisFahad

I want to redirect my users to my mobile site. My mobile site is in a subfolder instead of a subdomain. Here is how I want it to work ... Request sent to: https://www.picturepunches.com/hot Redirect to: https://www.picturepunches.com/mobile/hot I also don't want to effect the images on that page. So I …

Member Avatar for Australia_1
0
5K
Member Avatar for Tuan_11

Tried to block internet access for one of my iPhone for testing purpose (it has dummy SIM means no cellular data) Enable Parental Controls (i.e it is ON) Choose a specific home device that I want to block then choose option : "Always" ,,,,,,,,,,,,my router screenshot same as the link …

Member Avatar for happygeek
0
472
Member Avatar for davy_yg

Hello, I am trying to install apache on my localhost but cannot find the file that I need to install apache. https://projects.apache.org/projects.html?name Why there are so many apache installer file? Which one should I download?

Member Avatar for dickiebow
0
284
Member Avatar for dkary555

Hi, I am using an Apache tool called Sentora, which forces me to have my [root] directory to be etc/sentora/panel .......causing me the big problem of killing my browsing to /var/www/html as my [root] folder, rendering it unreachable. How can I set up both (and more) using vhosts? Thanks.

Member Avatar for Dani
0
298
Member Avatar for Aamit

hi, I am created 3 tables for 1> category 2> subcategory 3> projectdetail In my website folder structure root-index.php, header.php footer.php folder- about -index.php and other files folder - project- index.php folder - err- 404.php In my php page project/index.php i make left column dynamic, i.e call value from table …

Member Avatar for Sapna_3
-1
8K
Member Avatar for SimonIoa

Hello i am getting an error on log about npm... Any suggestion? PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\cmd;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\bin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Web\External\npm.CMD" install npm WARN deprecated babili@0.0.10: babili has been renamed to babel-minify. Please update to babel-minify npm WARN engine …

Member Avatar for SimonIoa
0
857
Member Avatar for mattyd

Before I get into the specific issues, I want to provide some other details: - Normally, I work on a live, paid server (even in dev); I realize that is not advised, but it is a bad habit I developed over the years. I've tried using Xammp, but do not …

Member Avatar for benanamen
0
650
Member Avatar for gentlemedia

I'm using the following to redirect http to https in my root directory htaccess file <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> But this seems not to work if I access directly sub directories (http://example.com/sub-directory/) unless I place this mod_rewrite in an htaccess file in …

Member Avatar for cereal
0
462
Member Avatar for avinesh_1

Hi all, i want to write a shell script to unblock sendmail user whose mailbox exceed 100MB

Member Avatar for rproffitt
0
367
Member Avatar for Steven_20

Hey, can you help me with convert the web.config to a .htacces file? <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <defaultDocument> <files> <clear /> <add value="index.php" /> <add value="_seiten/index.html" /> <add value="seite.php" /> </files> </defaultDocument> </system.webServer> <system.webServer> <handlers> <clear /> <add name="PHP53_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.3\php-cgi.exe" resourceType="Either" /> <add name="PHP54_via_FastCGI" …

Member Avatar for Subraa_1
0
478

The End.