close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

htaccess files

Thread began 2/01/2023 5:24 pm by Patrice | Last modified 2/04/2023 3:48 pm by Patrice | 333 views | 4 replies

PatriceWebAssist

htaccess files

I am inheriting a site from fellow dev who has different htaccess than I am using to make DA work.

~~

first dev using this

~~~

RewriteEngine on

RewriteOptions inherit

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.shorehavenbhi.com
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-SSL} !on
RewriteCond %{HTTP_HOST} ^shorehavenbhi\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.shorehavenbhi\.com$
RewriteRule ^/?$ "https\:\/\/www\.shorehavenbhi\.com\/" [R=301,L]

# php -- BEGIN cPanel-generated handler, do not edit
# This domain inherits the "PHP" package.
# php -- END cPanel-generated handler, do not edit

~~~

My usual has this which manages SQL input, via webassist.

ErrorDocument 404 /404.html

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteCond %{REQUEST_URI} !/_mmServerScripts/.*
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>

Can they co-exist on server?
What should I change?
Note: I have to keep the older site live while I work on new conversion from GoLive to DW and incorporate mysql / php stuff. There is a significant private area that I will not convert until later, so need to make all of it work ok.

Any help, most appreciated!

We both have our own dedicated servers, but within the same hosting company if that helps.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...