|
by: yawnmoth |
last post by:
i'm trying to write a php script that will password protect some
random directory by creating a .htaccess file, and a password file to
accompany the .htaccess file, and it isn't working... specifically, i
can't enter the newly created directory with a username of test, and a
password of test, which is what i am trying to do.
also, i'm testing this script out on a remote server, and... after
this script runs, i can't delete any of the...
|
by: Ivo |
last post by:
Greetings newsgroup,
I am moving some php scripts to a new host. While getting to know the
server, I ran into a strange problem.
If I add a .htaccess file, or more specifically: a .htaccess with
content, to a folder, requesting (html and php) files from that folder
results in internal server error messages.
If I upload an empty .htaccess file, all is fine. Then phpinfo() tells
me I am using Apache/1.3.27.
|
by: wandaring |
last post by:
here's my problem
If a visitor comes to visit my site and puts in his / her browser www .
mysite.com/Ceciliasfirstpage.html (excluding the space) I want
Ceciliasfirstpage.html to be generated on the fly from a common php page
generator.
What functions would i need?
Is there a function that would return the string www .
|
by: Ricky Romaya |
last post by:
Can I have somekind of URL rewriting mechanism without touching the web
server's configuration (implemented in pure PHP) and win32 compatible? All
the info I have teaches about apache's mod_rewrite or other methods which
includes httpd.conf/htaccess editing. Assume I don't have any access to
both files.
|
by: go |
last post by:
Can someone please tell me what URL rewriting is? I don't understand . . . a client is asking me to rewrite his URLs.
|
|
by: awebguynow |
last post by:
My shared-host doesn't allow php_value directives in .htaccess
I was using an "auto_prepend_file" on my local development machine,
that helped me implement a Session based authentication system.
Host said: "PHP is running as SuEXEC-CGI for security reasons"
and auto_prepend_file can only be put in php.ini ( system wide, out
of my control )
Now I'm back to Square 0. I'd prefer not to get stuck rewriting my
|
by: nickyeng |
last post by:
I have checked this info from apache website, and i confused with it.
Procteing System files
it said:
To run a really tight ship, you'll want to stop users from setting up .htaccess files which can override security features you've configured. Here's one way to do it.
In the server configuration file, put
|
by: realin |
last post by:
hi guys,
i want to use URL writing now, cause the other weird characters give a bad impression to the search engines and feeds.
can you tell me what is the code to be written in .htaccess.. is it the same we do in regular expression.. my URL is like
http://domain.com/view.php?action=read&id=8
My .htacccess has already few lines, may be my cpanel write it when i was managing index or the wordpress blog did it when i used the...
|
by: striawe |
last post by:
Is there any way to rewrite urls in php without using xampp server? I
rewrite when working on xampp, but I am trying to do this in another
way without using htaccess file. For example through database. Is it
possible? Thanks!
-----------------------------------------------
Madam Samina.....ap nay mujhay aik martaba kaha tha "mein tumhein
pasand karti hoon" kia waqi ap mujhay pasand karti hein? ap nay mujhay
phirr medipak kay samnay...
|
by: foekall |
last post by:
dear all,
I would like to ask about url rewriting in php. One of my project I got a problem
with image path.
.htacess
I am using header.html as a common file. But the images from header.html only display in index.php. In product.htm none of image can't display. I think I have a problem in .htacess file. Please let me know about this.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|